29.06.2012, 21:14
pawn Код:
if (!strcmp("/PoliceLS", cmdtext, true))
{
if(SpawnedVehicles[playerid] != 0) DestroyVehicle(SpawnedVehicles[playerid]);
new Float[4]
GetPlayerPos(playerid,Float[0],Float[1],Float[2]);
GetPlayerFacingAngle (playerid,Float[3]);
SpawnedVehicles[playerid] = CreateVehicle(596,Float[0],Float[1],Float[2],Float[3],-1,-1,60);
PutPlayerInVehicle(playerid,SpawnedVehicles[playerid],0);
GameTextForPlayer(playerid,"~h~~w~Police LS~n~~h~~w~ID:~h~~r~596",2500,1);
return 1;
}