[HELP]RemovePlayerFromVehicle depending on color..
#1

hello guys, im newbie on scripting ^^
and i want your help..
i need to create something similar to this:
Код:
if( newstate == PLAYER_STATE_DRIVER )
	{
	    if( model == 490 || model == 445 || model == 427 || GetPlayerVehicleID(playerid) == phel )
		{
		    if( gTeam[playerid] != TEAM )
		    {
            	SendClientMessage(playerid, COLOR_RED, "BLA BLA BLA");
            	RemovePlayerFromVehicle(playerid);
	 		}
		}
but no with model ids
with car colors..
for example if car color is 86,86
the player who is not in the team will be removed...
please help me , and sorry for my bad english , i hope you'll understand :P
thanks!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)