09.05.2013, 18:43
Hi I have make a Minigame this is the Command. But if I use this Commmands I only spawn at the same place how can I spawn random?
Код:
CMD:mg3(playerid, params[]) { SetPlayerInterior(playerid,1); SetPlayerPos(playerid,2220,1570,1001); SetPlayerPos(playerid,2205,1579,1001); SetPlayerPos(playerid,2169,1572,1001); SetPlayerPos(playerid,2194,1627,1001); SetPlayerPos(playerid,2218,1614,1001); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 38, 9999); //38 = Minigun SendClientMessage(playerid,COLOR_YELLOW,"Welcome to Minigame Minigun"); return 1; }