Parameter
#4

Not sure what that would do... it's gonna return -5 whatever the outcome. If you're trying to see if a player is a Passenger:

pawn Код:
IsPassenger(playerid)
{
   if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER) return 1;
   return 0;
}
But this is fairly pointless, as you could just use GetPlayerState without wrapping it up in a function.
Reply


Messages In This Thread
Parameter - by russiany - 29.05.2009, 11:08
Re: Parameter - by Gamer007 - 29.05.2009, 11:12
Re: Parameter - by russiany - 29.05.2009, 11:15
Re: Parameter - by Weirdosport - 29.05.2009, 11:51
Re: Parameter - by russiany - 29.05.2009, 12:06

Forum Jump:


Users browsing this thread: 2 Guest(s)