GET PLAYER SCORE!!!! PLZ HELP EMERGENCY!!!
#2

pawn Код:
if(GetPlayerScore(playerid) < 30)
{
    SetPlayerPos(playerid, x, y, z);
    SetPlayerInterior(playerid, 0);
    SetPlayerVirtualWorld(playerid, 0);
    return 1;
}
I believe that's what you're looking for. You don't need to add an else statement because the return 1; will prevent other players that already have 30 score or more from being teleported.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)