Command isn't working - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Command isn't working (
/showthread.php?tid=550397)
Command isn't working -
Lirbo - 12.12.2014
NEVERMIND FOUND THE PROBLEM
Re: Command isn't working -
Sledgehammer - 12.12.2014
pawn Код:
CMD:usetp(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid, 2, DOF2_GetInt(TeleFile(playerid),"SX"), DOF2_GetInt(TeleFile(playerid),"SY"), DOF2_GetInt(TeleFile(playerid),"SZ")))
{
MSG(playerid,-1,"Test");
}
return 1;
}
Re: Command isn't working -
Lirbo - 12.12.2014
Man, you wrote the same script.. just you made it simpeler...
It's not working, (yes I tested it too).
Re: Command isn't working -
ilepopivanov - 12.12.2014
Код:
CMD:usetp(playerid,params[]){
if(IsPlayerInRangeOfPoint(playerid, 2, DOF2_GetInt(TeleFile(playerid),"SX"), DOF2_GetInt(TeleFile(playerid),"SY")), DOF2_GetInt(TeleFile(playerid),"SZ"))
return MSG(playerid,-1,"Test");
return 1;
}
Try this
Re: Command isn't working -
Lirbo - 12.12.2014
same...