I need help (+REP for help)
#3

Hello!

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(
onCheck[playerid])
    {
       
GivePlayerMoney(playerid,5000);
       
DisablePlayerCheckpoint(playerid);
       
onCheck[playerid] = false;
       
SetPlayerPos(playerid,2024.8163,1344.3187,10.8203);
       
SetPlayerFacingAngle(playerid,10.8203);
       
SetPlayerColor(playerid,GREEN);
       return 
1;
    }
    return 
1;

A callback must return a value (mostly the value is 1).
Reply


Messages In This Thread
I need help (+REP for help) - by MarkNelson - 06.07.2016, 14:11
Re: I need help (+REP for help) - by Eymeric69 - 06.07.2016, 14:12
Re: I need help (+REP for help) - by Mencent - 06.07.2016, 14:13
Re: I need help (+REP for help) - by F1N4L - 06.07.2016, 14:13
Re: I need help (+REP for help) - by gurmani11 - 06.07.2016, 14:15
Re: I need help (+REP for help) - by MarkNelson - 06.07.2016, 14:15

Forum Jump:


Users browsing this thread: 1 Guest(s)