Help :)
#7

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
Hare :

pawn Код:
CMD:rob(playerid, params[]) //rob with little letter not big else it wont WOrk!
{
    if(IsPlayerInRangeOfPoint(playerid, 2.5, x, y, z)) //type hare the checkpoint position the 2.5 is range!
    {
        DestroyCheckpoint(Pickup1);
    }
    else
    {
         SendClientMessage(playerid, 0xFF0000FF, "You Are Not In The Pickup Place!");
    }
}
return 1;
}
That piece of code will not work at all.
It will return
Код:
warning 209: function "cmd_rob" should return a value
Remove the closing bracket before the return 1.
Reply


Messages In This Thread
Help :) - by Desha1 - 28.12.2014, 17:32
Re: Help :) - by UltraScripter - 28.12.2014, 17:34
Re: Help :) - by Desha1 - 28.12.2014, 17:35
Re: Help :) - by UltraScripter - 28.12.2014, 17:39
Re: Help :) - by Desha1 - 28.12.2014, 18:08
Re: Help :) - by UltraScripter - 28.12.2014, 18:19
Re: Help :) - by AndySedeyn - 28.12.2014, 18:24
Re: Help :) - by UltraScripter - 28.12.2014, 18:27
Re: Help :) - by Desha1 - 28.12.2014, 18:31
Re: Help :) - by UltraScripter - 28.12.2014, 18:35

Forum Jump:


Users browsing this thread: 1 Guest(s)