Posts: 349
Threads: 119
Joined: Jun 2013
Quote:
Originally Posted by Coe1
Exemplo:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) {
if(motor[playerid] == 1){ Funзгo.. } } else if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER) {
TextDrawHideForPlayer(playerid, suatxd); motor[playerid] = 0;
} return 1; }
|
Cara explica melhor que eu nгo consegui entender !