Car Destroy
#1

Код:
	new currentveh;
	new currentveh2;
 	currentveh = PlayerInfo[playerid][pPcarkey];
 	currentveh2 = PlayerInfo[playerid][pPcarkey2];
	DestroyVehicle(currentveh);
	DestroyVehicle(currentveh2);
so i added that in, Onplayerdisconnect, how would I make it re-spawn when they log back in, I tried the following under Onplayerspawn but didnt work?

Код:
			// CAR RELOAD COMMAND //
			LoadCar();
			new scurrentveh;
			new scurrentveh2;
 			scurrentveh = PlayerInfo[playerid][pPcarkey];
 			scurrentveh2 = PlayerInfo[playerid][pPcarkey2];
 			CreateVehicle(CarInfo[scurrentveh][cModel],CarInfo[scurrentveh][cLocationx],CarInfo[scurrentveh][cLocationy],CarInfo[scurrentveh][cLocationz]+1.0,CarInfo[scurrentveh][cAngle],CarInfo[scurrentveh][cColorOne],CarInfo[scurrentveh][cColorTwo],60000);
     		CreateVehicle(CarInfo[scurrentveh2][cModel],CarInfo[scurrentveh2][cLocationx],CarInfo[scurrentveh2][cLocationy],CarInfo[scurrentveh2][cLocationz]+1.0,CarInfo[scurrentveh2][cAngle],CarInfo[scurrentveh2][cColorOne],CarInfo[scurrentveh2][cColorTwo],60000);
 			// CAR LOAD //
Reply


Messages In This Thread
Car Destroy - by UnknownGamer - 28.08.2012, 04:13
Re: Car Destroy - by lamarr007 - 28.08.2012, 04:19
Re: Car Destroy - by UnknownGamer - 28.08.2012, 04:48
Re: Car Destroy - by lamarr007 - 28.08.2012, 05:30
Re: Car Destroy - by UnknownGamer - 28.08.2012, 05:43
Re: Car Destroy - by lamarr007 - 28.08.2012, 06:15
Re: Car Destroy - by UnknownGamer - 28.08.2012, 13:27
Re: Car Destroy - by lamarr007 - 28.08.2012, 17:05

Forum Jump:


Users browsing this thread: 4 Guest(s)