Command isn't working
#1

NEVERMIND FOUND THE PROBLEM
Reply
#2

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;
}
Reply
#3

Man, you wrote the same script.. just you made it simpeler...
It's not working, (yes I tested it too).
Reply
#4

Код:
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
Reply
#5

same...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)