#4

Is this right?
No error but it says CMD_NSlap should return a value, If i try then it says unknown command, Maybe something wrong in it?
PHP код:
CMD:NSlap(playeridparams[])
{
    new 
Float:x,Float:y,Float:z;
    
GetPlayerPos(playerid,x,y,z);
    for(new 
0MAX_PLAYERSi++)
    {
        if(!
IsPlayerConnected(i)) continue;
        {
            if(
IsPlayerInRangeOfPoint(i5.0xyz))
            {
                
SetPlayerPos(ixyz+3);
                
SendClientMessage(i0xFF000FF"!Tested!");
          }
        return 
1;
      }
    return 
1;
    }

Reply


Messages In This Thread
Slap - by SaiyanZ - 24.04.2016, 10:51
Re: Slap - by J0sh... - 24.04.2016, 10:57
Re: Slap - by oMa37 - 24.04.2016, 11:06
Re: Slap - by SaiyanZ - 24.04.2016, 12:06
Re: Slap - by J0sh... - 24.04.2016, 12:13
Re: Slap - by SaiyanZ - 24.04.2016, 12:48
Re: Slap - by SaiyanZ - 25.04.2016, 13:20
Re: Slap - by oMa37 - 25.04.2016, 14:35
Re: Slap - by nezo2001 - 25.04.2016, 15:27

Forum Jump:


Users browsing this thread: 2 Guest(s)