[FilterScript] GunGame 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] GunGame Minigame (
/showthread.php?tid=658704)
GunGame Minigame -
UFF - 10.09.2018
GunGame Minigame
Introduction
This is a minigame of my server but not as same as in my server. I saw a gungame gamemode and a lots of server has this minigame. So, i thought to make one for the sa-mp forum people. This minigame is based on 14 levels with weapons based on level. The one who reaches the level 14 will be the winner. Further, feel free to edit it.
Bugs? None for now.
Images
Credits
Scripting - UFF & $moke
a_samp - SA-MP Team
Streamer - Incognito
Zcmd - Zeex
Ultimate Funky Freeroam Community @2018
Download Link
Pastebin
Re: GunGame Minigame -
Undef1ned - 10.09.2018
Why do you return "0" in "OnPlayerSpawn, OnPlayerDisconnect, OnPlayerConnect"? Did not return "1" in several "callbacks":
PHP Code:
LeaveFromGG(playerid)
{
if(IsInGG[playerid])
{
IsInGG[playerid] = false;
GGLevel[playerid] = 0;
SetPlayerVirtualWorld(playerid, 0);
ResetPlayerWeapons(playerid);
SpawnPlayer(playerid);
PlayerTextDrawHide(playerid, GGTD[playerid]);
}
}
Re: GunGame Minigame -
UFF - 10.09.2018
Quote:
Originally Posted by Undef1ned
Why do you return "0" in "OnPlayerSpawn, OnPlayerDisconnect, OnPlayerConnect"? Did not return "1" in several "callbacks":
PHP Code:
LeaveFromGG(playerid)
{
if(IsInGG[playerid])
{
IsInGG[playerid] = false;
GGLevel[playerid] = 0;
SetPlayerVirtualWorld(playerid, 0);
ResetPlayerWeapons(playerid);
SpawnPlayer(playerid);
PlayerTextDrawHide(playerid, GGTD[playerid]);
}
}
|
Thanks for notifying, I totally forgot to change before posting.
Updated and fixed.
Re: GunGame Minigame -
samiulla - 25.12.2018
after dying i spawned near my hq
how to fix it?