Respawn Car & Spawner
#4

pawn Код:
stock Cars(playerid, model, color1, color2)
{
new Float:Pos[4];
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]); GetPlayerFacingAngle(playerid, Pos[3]);
if(GetPVarInt(playerid,"VipCar") != -1) DestroyVehicle(GetPVarInt(playerid,"VipCar"));
new vehicleid = CreateVehicle(model,Pos[0],Pos[1],Pos[2], Pos[3],color1, color2, 3600);
SetPVarInt(playerid,"VipCar", vehicleid);
SCM(playerid,-1,"Vehicle spawned!");
}
pawn Код:
#define MAX_CARS  1000//ur cars
Reply


Messages In This Thread
Respawn Car & Spawner - by KarimCms - 11.07.2014, 20:06
Re: Respawn Car & Spawner - by SHE790 - 11.07.2014, 20:16
Re: Respawn Car & Spawner - by KarimCms - 11.07.2014, 20:32
Re: Respawn Car & Spawner - by SHE790 - 11.07.2014, 20:37
Re: Respawn Car & Spawner - by KarimCms - 11.07.2014, 20:40
Re: Respawn Car & Spawner - by SHE790 - 11.07.2014, 20:47
Re : Re: Respawn Car & Spawner - by Clad - 11.07.2014, 20:54
Re: Respawn Car & Spawner - by KarimCms - 11.07.2014, 20:57
Re: Respawn Car & Spawner - by KarimCms - 11.07.2014, 20:59
Re : Respawn Car & Spawner - by Clad - 11.07.2014, 21:01

Forum Jump:


Users browsing this thread: 2 Guest(s)