24.09.2009, 16:34
See DainyZxZ's Cars filterscript.
pawn Код:
if (strcmp(cmdtext, "/turismo",true)==0)
{
if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0x33AA33AA, "You are already in a vehicle");
new Float:x,Float:y,Float:z,Float:a;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid,a);
CreateVehicle(451,x+1,y+1,z,a,1,1,10000);
return 1;
}