23.11.2011, 20:51
Quote:
So where can I store the options? lets say option 1 will send you a message and option 2 will remove you from vehicle. Could you please add that.
|
pawn Код:
if (strcmp("/jump", cmdtext, true, 5) == 0)
{
new rand = random(9);
if(rand < 7)
{
new vehicle = GetPlayerVehicleID(playerid);
if(IsPlayerInVehicle(playerid, vehicle))
RemovePlayerFromVehicle(playerid);
}
else SendClientMessage(playerid, -1, "Message");
return 1;
}