25.02.2010, 14:41
Quote:
Originally Posted by Torran
pawn Код:
Still not working So how would i do this right? |
pawn Код:
CMD:eject(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
RemovePlayerFromVehicle(playerid);
SetPlayerVelocity(playerid,0.0,0.0,5.0);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You need to be in a vehicle to use this command");
}
return 1;
}