SA-MP Forums Archive
[QUESTION] MINIGAME - 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: [QUESTION] MINIGAME (/showthread.php?tid=342564)



[QUESTION] MINIGAME - mickos - 14.05.2012

Hey I have a question

Question 1:
I want a minigun mini-game, but how do you do that?
Suppose the command / minigun is to go to the mini-game to go, then the players lose their weapons they have and then they get a minigun.


Question 2:
And suppose the minigame in Grove Street, it is not intended that players to coarse street go, other players with a minigun see, I would like the minigame in another world is something that I see in many servers
But how do you do that?

Thank you: D


Re: [QUESTION] MINIGAME - HDFord - 14.05.2012

You need to teleport the player to the location where the minigame is and give the player a minigun. PM if you want me to make it for you.


Re: [QUESTION] MINIGAME - Azazelo - 14.05.2012

Answer 1:
if player cmdtext is /minigun then
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,38,5000);
Answer 2:
SetPlayerVirtualWorld(playerid,157);


Re: [QUESTION] MINIGAME - mickos - 14.05.2012

Thank you,
And HDFord I have PM'd you ..

And Azazelo thank you to man