Jump to content
Posted
comment_793892

als ik /taxi 6 doet of iemand anders crasht server ineens

if(strcmp(cmdtext, "/taxi 6", true)==0)
{
	 if(IsPlayerInAnyVehicle(playerid))
		{
		   new Float:X;
		   new Float:Y;
		   new Float:Z;
			new VehicleID;
			GetPlayerPos(playerid, X, Y, Z);
			VehicleID = GetPlayerVehicleID(playerid);
		   SetVehiclePos(VehicleID, 1318.7705,1295.3638,11.1953);
		   SetVehicleZAngle(VehicleID,265.7448);
		   SetPlayerInterior(playerid,0); //Sets the interior, set it to 0 if its on the normal "outside" world.
		   GameTextForPlayer(playerid, "~W~Welcome to Las Venturas Airport",3000,5);
		} else {
		   new Float:X;
		   new Float:Y;
		   new Float:Z;
		   GetPlayerPos(playerid, X, Y, Z);
		   SetPlayerPos(playerid, 1318.7705,1295.3638,11.1953);
		   SetPlayerFacingAngle(playerid,181.7940);
		   SetPlayerInterior(playerid,0); //Sets the interior, set it to 0 if its on the normal "outside" world.
		   GameTextForPlayer(playerid, "~W~Welcome to Las Venturas Aiport",3000,5);

FS zelf geeft geen error aan en het is alleen bij /taxi 6

Featured Replies

  • Author
comment_794438

Ik weet het al had denk teveel ID's erin misschien had ik er 71 ofzo tijdens het tellen kwam ik op 70 uit maarja had er een paar uit gehaald die nooit gebruikt worden en nu crash hij niet na 1 min. Hier kan :slotje: op

Edited by Las Vegas

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.