a little help here!
#2

Make it this :-
pawn Код:
COMMAND:eject(playerid,params[])
{
   new id;
   if(sscanf(params,"u", id)) return SCM(playerid, RED, "Eject player from vehicle: /eject <playerid>");
   if(!IsPlayerConnected(playerid)) return SCM(playerid, RED, "Player is not connected");
   if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, RED, "You are not in vehicle");
   if(PlayerState == PLAYER_STATE_PASSANGER)
   {
     SCM(playerid, RED, "You are not driver");
   }
   RemovePlayerFromVehicle(id);
   return 1;
}
Reply


Messages In This Thread
a little help here! - by Another1 - 13.11.2013, 15:01
Re: a little help here! - by Avi Raj - 13.11.2013, 15:03
Re: a little help here! - by AlonzoTorres - 13.11.2013, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)