|
|
|
|
#1 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2012
Location: United States of America
Posts: 569
Reputation: 26
|
Is it anything in this:
http://pastebin.com/HJhsV2Aw That is causing these errors: Code:
C:\Users\Keegan\Desktop\gamemodes\WorldWar.pwn(2066) : error 017: undefined symbol "IsObjectMoving"
C:\Users\Keegan\Desktop\gamemodes\WorldWar.pwn(2071) : error 001: expected token: ")", but found "{"
C:\Users\Keegan\Desktop\gamemodes\WorldWar.pwn(2075) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\WorldWar.pwn(2075) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\WorldWar.pwn(2075) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\WorldWar.pwn(2080) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\WorldWar.pwn(2080) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\gamemodes\WorldWar.pwn(2080) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
I am trying to create a gate, Can anyone help? |
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2010
Location: Brasília
Posts: 4,255
Reputation: 474
|
pawn Code:
|
|
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Mar 2012
Posts: 157
Reputation: 6
|
On line 2071 you need an extra ) after the ID (I)
|
|
|
|
|
|
#4 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 938
Reputation: 144
|
is it server version 0.3d or later?
if your on 0.3c it wont work as it dont support that function. |
|
|
|
|
|
#5 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2012
Location: United States of America
Posts: 569
Reputation: 26
|
Its 0.3d, And viniborn, Rep+ cause that fixed one error, but now i still have the IsObjectMoving error.
|
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2010
Location: Brasília
Posts: 4,255
Reputation: 474
|
IsObjectMoving was added in SA-MP 0.3d.
You are compiling with the correct pawncc? |
|
|
|
|
|
#7 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2012
Location: United States of America
Posts: 569
Reputation: 26
|
Yea?
|
|
|
|
|
|
#8 |
|
Big Clucker
![]() ![]() Join Date: Mar 2012
Posts: 157
Reputation: 6
|
Hmm..
Are you sure your includes and plugins are up to date? (0.3d) |
|
|
|
|
|
#9 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2012
Location: United States of America
Posts: 569
Reputation: 26
|
That might be the problem, I cant find IsObjectMoving in a_objects.inc or a_samp.inc. Maybe can you upload
0.3d one? |
|
|
|
|
|
#10 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2010
Location: Brasília
Posts: 4,255
Reputation: 474
|
a_objects
Code:
/* SA-MP Object Functions * * (c) Copyright 2005-2011, SA-MP Team * */ #if defined _objects_included #endinput #endif #define _objects_included #pragma library objects // Objects native CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 0.0); native AttachObjectToVehicle(objectid, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ); native AttachObjectToObject(objectid, attachtoid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ, SyncRotation = 1); native AttachObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ); native SetObjectPos(objectid, Float:X, Float:Y, Float:Z); native GetObjectPos(objectid, &Float:X, &Float:Y, &Float:Z); native SetObjectRot(objectid, Float:RotX, Float:RotY, Float:RotZ); native GetObjectRot(objectid, &Float:RotX, &Float:RotY, &Float:RotZ); native IsValidObject(objectid); native DestroyObject(objectid); native MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0); native StopObject(objectid); native IsObjectMoving(objectid); native CreatePlayerObject(playerid, modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 0.0); native SetPlayerObjectPos(playerid, objectid, Float:X, Float:Y, Float:Z); native GetPlayerObjectPos(playerid, objectid, &Float:X, &Float:Y, &Float:Z); native SetPlayerObjectRot(playerid, objectid, Float:RotX, Float:RotY, Float:RotZ); native GetPlayerObjectRot(playerid, objectid, &Float:RotX, &Float:RotY, &Float:RotZ); native IsValidPlayerObject(playerid, objectid); native DestroyPlayerObject(playerid, objectid); native MovePlayerObject(playerid, objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0); native StopPlayerObject(playerid, objectid); native IsPlayerObjectMoving(playerid, objectid); native AttachPlayerObjectToPlayer(objectplayer, objectid, attachplayer, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ); |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gates problem.. help pls :) | GoHaN7 | Scripting Help | 5 | 18/02/2012 06:31 AM |
| Gates Problem | Eugene. | Server Support | 27 | 27/01/2012 07:14 PM |
| Problem with the gates! | Setkus | Scripting Help | 6 | 05/01/2012 04:53 PM |
| Need code for deleting gates area 51 | Admigo | Scripting Help | 4 | 03/12/2011 07:26 PM |
| [HELP]Problem with gates | krisko | Help Archive | 1 | 11/08/2009 08:50 PM |