[FilterScript] GunGame Minigame
#1

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
Reply
#2

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(playerid0);
        
ResetPlayerWeapons(playerid);
        
SpawnPlayer(playerid);
        
PlayerTextDrawHide(playeridGGTD[playerid]);
    }

Reply
#3

Quote:
Originally Posted by Undef1ned
View Post
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(playerid0);
        
ResetPlayerWeapons(playerid);
        
SpawnPlayer(playerid);
        
PlayerTextDrawHide(playeridGGTD[playerid]);
    }

Thanks for notifying, I totally forgot to change before posting.
Updated and fixed.
Reply
#4

after dying i spawned near my hq
how to fix it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)