Spawn Car At Player Chors ???
#4

Well Your code didnt work the way i wanted so i edited it :L

Код:
   if(strcmp(cmd, "/nrg500", true) == 0) {
        new Float:x, Float:y, Float:z, Float:a;
		GetPlayerFacingAngle(playerid,a);
		GetPlayerPos(playerid, x, y, z);
		new car;
		car=CreateVehicle(522,x,y,z+1,a,-1,-1,30000);   //change 522 to the car that you want spawn
		LinkVehicleToInterior(car,GetPlayerInterior( playerid));
		return 1;}
Reply


Messages In This Thread
Spawn Car At Player Chors ??? - by bumfluff - 18.05.2009, 22:09
Re: Spawn Car At Player Chors ??? - by caribe88 - 19.05.2009, 18:55
Re: Spawn Car At Player Chors ??? - by bumfluff - 19.05.2009, 19:00
Re: Spawn Car At Player Chors ??? - by bumfluff - 20.05.2009, 14:06

Forum Jump:


Users browsing this thread: 3 Guest(s)