Jump to content
  • 0

Checkpoint (AddStaticVehicle) =D


XpLoD

Question

if(CP[playerid] == 87)
	{
	    SetPlayerVirtualWorld(playerid,1);
		DisablePlayerCheckpoint(playerid);
		SetPlayerCheckpoint(playerid,1905.7734,2775.6323,10.2457,3.0);
		GetPlayerPos(playerid,X,Y,Z);
		GetPlayerFacingAngle(playerid,A);
		Vehicle[playerid] = AddStaticVehicle(411,X,Y,Z,A,-1,-1);
		SetVehicleVirtualWorld(Vehicle[playerid], 1);
		LinkVehicleToInterior(Vehicle[playerid], 0);
		PutPlayerInVehicle(playerid,Vehicle[playerid],0);
		CP[playerid] = 88;
	}

Cand intru in el(Checkpoint),in loc sa-mi dea o singura masina, se creeaza milioane de masini (Fara sa se mai opreasca) si se blocheaza jocu...

Aveti o idee,ce as putea face? xD Thanks.

ll364l6j8dg3et84ks3w.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.