Need me exit code.. [+REP]
#1

Need me exit event code.When a write command to discard all players event. And my other idea is that all players are frozen and then by submitting command they unfrozen all players and can't teleportate again.
Reply
#2

Show us the code of how you made the actual event..

Why don't you just simply use

OnPlayerDeath

PHP код:
    if(PlayerInEvent(playerid) <1)
    {
        
SetPlayerPos(playeridx,y,z);
        
TogglePlayerControllable(playerid,0);
        return 
1;
    } 
X,y,z change to like crowd view. ToglePlayerControllable 0 is frozen, and 1 is unfrozen.


PHP код:
    if(PlayerInEvent(playerid) <1
Change this with your variables.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)