SA-MP Forums Archive
need help for taxi it must get money from player and also teleport player when countdown ends - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: need help for taxi it must get money from player and also teleport player when countdown ends (/showthread.php?tid=392122)



need help for taxi it must get money from player and also teleport player when countdown ends - Player23 - 12.11.2012

Код:
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 - Kerlan - 12.11.2012

Wheres the rest of the code?


Re: need help for taxi it must get money from player and also teleport player when countdown ends - Player23 - 14.11.2012

omg no help {(