need help for taxi it must get money from player and also teleport player when countdown ends -
Код:
if(CurrentMenu == LosSantos)
{
switch(row)
{
case 0: { SetPlayerPos(playerid, 1363.1886,-1279.3578,13.5469); SetPlayerInterior(playerid, false); }
case 1: { SetPlayerPos(playerid, 2499.8308,-1684.2540,13.4196); SetPlayerInterior(playerid, false); }
case 2: { SetPlayerPos(playerid, 1355.0654,-1751.8945,13.3698); SetPlayerInterior(playerid, false); }
case 3: { SetPlayerPos(playerid, 1665.5244,-2524.5930,13.5469); SetPlayerInterior(playerid, false); }
case 4: { SetPlayerPos(playerid, 1549.9644,-1675.5760,15.1985); SetPlayerInterior(playerid, false); }
case 5: { SetPlayerPos(playerid, 1534.9761,-1363.4656,329.4609); SetPlayerInterior(playerid, false); }
case 6: { SetPlayerPos(playerid, 2394.8477,-1978.2759,13.5469); SetPlayerInterior(playerid, false); }
case 7: { SetPlayerPos(playerid, 1828.7911,-1852.5747,13.5781); SetPlayerInterior(playerid, false); }
case 8: { SetPlayerPos(playerid, 293.8838,-1866.8988,2.8248); SetPlayerInterior(playerid, false); }
case 9: return ChangeMenu(playerid, CurrentMenu, Taxi);
}
return TogglePlayerControllable(playerid, true);
}
before spawn it must take money and sapwn when countdown timer ends :P hope it will come with nice reply
Re: need help for taxi it must get money from player and also teleport player when countdown ends -
Re: need help for taxi it must get money from player and also teleport player when countdown ends -