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
als ik /taxi 6 doet of iemand anders crasht server ineens
FS zelf geeft geen error aan en het is alleen bij /taxi 6