03.12.2010, 11:06
I am looking for a scripter to solve me some bugs and script me some simple command . I am paying on paypal !
My msn : Aka_dragonu@hotmail.com
My msn : Aka_dragonu@hotmail.com
if (IsPlayerInRangeOfPoint(playerid, 1, X, Y, Z))
SetPlayerCheckpoint(playerid, X , Y, Z, 2);
}
else
{
DisablePlayerCheckpoint(playerid);
}
return 1;
}
"}"
yes, that should work but you may have to add extra closing bracket's
pawn Код:
|
4 errors : D:\Games\GTA San Andreas\server\gamemodes\slrpg.pwn(5016) : error 010: invalid function or declaration
D:\Games\GTA San Andreas\server\gamemodes\slrpg.pwn(5019) : error 021: symbol already defined: "SetPlayerCheckpoint" D:\Games\GTA San Andreas\server\gamemodes\slrpg.pwn(5021) : error 010: invalid function or declaration D:\Games\GTA San Andreas\server\gamemodes\slrpg.pwn(5025) : error 010: invalid function or declaration you got msn ? |
public OnPlayerUpdate(playerid)
{
if (IsPlayerInRangeOfPoint(playerid, 0.3, 83.93970489502, -149.35932922363, 2.2334928512573))
{
SetPlayerCheckpoint(playerid, 83.93970489502, -149.35932922363, 2.2334928512573, 2);
}
else
{
DisablePlayerCheckpoint(playerid);
}
return 1;
}