15.10.2011, 15:24
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(235) : error 001: expected token: "-identifier-", but found "-rational value-"
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(237) : error 017: undefined symbol "GOTOPLAYER"
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(239) : warning 202: number of arguments does not match definition
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(240) : error 017: undefined symbol "x"
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(243) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
what is it mean?
thats what i did
if (!strcmp(cmdtext, "/race", true))
{
new Float:2057.3955, Float:861.6058, Float:6.7143,181;
GetPlayerPos(GOTOPLAYER, x, y, z);
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { SetVehiclePos(GetPlayerVehicleID(playerid), 2057.3955, 861.6058, 6.7143,181); }
else { SetPlayerPos(playerid, x, y, z); }
return 1;
}
i rily need help!
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(237) : error 017: undefined symbol "GOTOPLAYER"
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(239) : warning 202: number of arguments does not match definition
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(240) : error 017: undefined symbol "x"
C:\Documents and Settings\\Desktop\hot frap backup\HotFrapNewServerScriptByNinjaa.pwn(243) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
what is it mean?
thats what i did
if (!strcmp(cmdtext, "/race", true))
{
new Float:2057.3955, Float:861.6058, Float:6.7143,181;
GetPlayerPos(GOTOPLAYER, x, y, z);
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { SetVehiclePos(GetPlayerVehicleID(playerid), 2057.3955, 861.6058, 6.7143,181); }
else { SetPlayerPos(playerid, x, y, z); }
return 1;
}
i rily need help!