12.02.2010, 22:47
as andreskkk stated, your missing brackets, then like 4 people post afterward and make the same mistake
Notice the if(IsPlayerInChoppa(playerid)) ALL opened Brackets are Closed!
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) { if(IsPlayerInChoppa(playerid)) { //your code here } } return 1; }