[Help](Checkpoints Not Disable)And not Reward
#5

Quote:
Originally Posted by trablon
Посмотреть сообщение
- Ohh buddy, you forgot to add your command(kidnap) Player_NextKidnapp[playerid] = true;
Just add it and it will be work.Without editing the variable, checkpoint cannot figure out that you are near the checkpoint.
PHP код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
if (
Player_NextKidnapp{playerid})
{
    
Player_NextKidnapp{playerid} = true;
    
DisablePlayerRaceCheckpoint(playerid);
    
SetPlayerHealth(Player_NextKidnapp[playerid], 0);
    
SetPlayerWantedLevel(playeridGetPlayerWantedLevel(playerid)+6);
    
GivePlayerMoney(playerid25000+random(113452));
    return 
1;
}
return 
1;

Changed To True Not Fixed :/
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)