Problem with dialog teleport with vehicle
#6

see, if i add something like this in dialog:

Quote:

if (strcmp("/aa", cmdtext, true, 3) == 0)
{
if (IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(GetPlayerVehicleID(playerid), 325.3232,2544.5586,16.8077);
}
else
{
SetPlayerPos(playerid, 325.3232,2544.5586,16.8077);
GameTextForPlayer(playerid,"~r~Abandoned Airport ~b~By MosQ",3000,4);
SetPlayerArmour(playerid, 0);
ResetPlayerWeapons(playerid);
}
return 1;
}

it wont work, it wont teleport player with a car, it will teleport him without and to other teleport, dialog is only working without a car like i posted first 2 dialogs.. and thats problem.. i want car-teleport on dialog
Reply


Messages In This Thread
Problem with dialog teleport with vehicle - by Gotti_ - 08.03.2011, 08:36
Re: Problem with dialog teleport with vehicle - by Bogdanovic - 08.03.2011, 09:43
Re: Problem with dialog teleport with vehicle - by Sascha - 08.03.2011, 09:47
Re: Problem with dialog teleport with vehicle - by Gotti_ - 08.03.2011, 09:57
Re: Problem with dialog teleport with vehicle - by Davz*|*Criss - 08.03.2011, 10:07
Re: Problem with dialog teleport with vehicle - by Gotti_ - 08.03.2011, 10:17
Re: Problem with dialog teleport with vehicle - by Gotti_ - 08.03.2011, 15:09
Re: Problem with dialog teleport with vehicle - by Stigg - 08.03.2011, 15:14
Re: Problem with dialog teleport with vehicle - by Sascha - 08.03.2011, 15:16
Re: Problem with dialog teleport with vehicle - by Shetch - 08.03.2011, 15:21

Forum Jump:


Users browsing this thread: 2 Guest(s)