Something is wrong with this code!
#7

as andreskkk stated, your missing brackets, then like 4 people post afterward and make the same mistake

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
  if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
  {
    if(IsPlayerInChoppa(playerid))
    {
     //your code here
    }
  }
  return 1;
}
Notice the if(IsPlayerInChoppa(playerid)) ALL opened Brackets are Closed!
Reply


Messages In This Thread
Something is wrong with this code! - by Lorenc_ - 12.02.2010, 11:48
Re: Something is wrong with this code! - by aNdReSkKkK - 12.02.2010, 11:49
Re: Something is wrong with this code! - by dice7 - 12.02.2010, 11:56
Re: Something is wrong with this code! - by adsy - 12.02.2010, 11:57
Re: Something is wrong with this code! - by Lorenc_ - 12.02.2010, 22:38
Re: Something is wrong with this code! - by Anwix - 12.02.2010, 22:41
Re: Something is wrong with this code! - by Bayler - 12.02.2010, 22:47
Re: Something is wrong with this code! - by Lorenc_ - 12.02.2010, 22:52
Re: Something is wrong with this code! - by adsy - 12.02.2010, 23:05

Forum Jump:


Users browsing this thread: 4 Guest(s)