08.03.2011, 10:17
see, if i add something like this in dialog:
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
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; } |