[GameMode] Phantom's GangWar V1.0
#1

Credits:
Mapping: PhantomDot1
Scripting: PhantomDot1 with help of RageKillz
Testing: PhantomDot1


Version:
1.0

Features:
* npc driveby cars (not yet vulnerable, hope to fix in next version...)
* /kill EPIC suicide xD (tested)
* /help to see what ur objective is (tested)
* /cmds ... explains itself (tested)
* /rules the same as above ... (tested)
* per kill $2000 and +1 score -->(not tested)<--
* per death -$1000 and -1 -->(not tested)<--
* S.W.A.T vans for rcon only ! (tested)
* Admin weapons on rcon login (part of it tested, could be when u log in that all players get admin weaps, PLZ
let me know if it works, or if it doesnt work !!)

Warning
*do NOT delete anything or the script might not work anymore
*do NOT edit anything without my permission
*if you want anything to be edited FIRST ask my permission, or ask me to do it.

suggestions
*if you have ANY suggestions to add to my script, just mail me: PhantomDot1@hotmail.com
than ill mail you back about details etc.
* i will add and release suggestions u mail me and things I improve, like anti-cheat system, register/login filterscript, admin filterscript, and much, much more

this is my FIRST script i release !!
Bugs:
mail to PhantomDot1@hotmail.com if you find any, than ill fix it and release again, or you can fix it, but let me know it !! thats the most important, than i can update the post.]
Suggestions:
I suggest to use this admin filterscript, cuz its EPIC, and it works f*king smooth:
https://sampforum.blast.hk/showthread.php?pid=1208830#pid1208830

NEED HELP:
Anybody who can help me with making NPC's vulnerable, plz pm or email me!!
plz check this thread: https://sampforum.blast.hk/showthread.php?pid=1208830#pid1208830

Download:
Gamemode: http://pastebin.com/TVwNvW5y
Balla DB car: http://pastebin.com/bV6X77f6
Vagos DB car: http://pastebin.com/075R0NCv
Grove DB car: http://pastebin.com/CLuKKKzw
DB car recordings: http://www.mediafire.com/?8d7754xkbkybk6i
or mail to PhantomDot1@hotmail.com, than ill mail u the file


EDIT:
Plz if you use this script, PLZ give me ip, i havent tested it with more than myself on the server
i want to see how it works out with more xD
Reply
#2

Nice for your first FS
Reply
#3

Good work.
Reply
#4

do you have pics?
Reply
#5

Quote:
Originally Posted by deadsecret
Посмотреть сообщение
do you have pics?
pics of what?
than i can make them
Reply
#6

[QUOTE=PhantomDot1;1211428]
Bugs:
* when you compress, an error pops up, but thats nothing

hmmm so we cant compile it maybe you forgot to say that it needs an include??
coz that is something, other than that great GM
Reply
#7

[quote=xalith;1211623]
Quote:
Originally Posted by PhantomDot1
Посмотреть сообщение
Bugs:
* when you compress, an error pops up, but thats nothing

hmmm so we cant compile it maybe you forgot to say that it needs an include??
coz that is something, other than that great GM
no, u can compile it, but it says:
loose indentation, i dont know why, but everything works, so its nothing serious.
Reply
#8

btw how can i get my pic back in the signature box?
Reply
#9

Loose Indentation Fix:

Find:
pawn Код:
public OnPlayerSpawn(playerid)
{
        if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
        if(!strcmp(npcname, "Balla", true)) //Checking if the NPC's name is MyFirstNPC
        {
            PutPlayerInVehicle(playerid, Balla_dbcar, 0);
            SetPlayerSkin(playerid, 104);
            SetPlayerColor(playerid, 0xFF00FFAA);
            gTeam[playerid] = TEAM_BALLA;
        }
        if(!strcmp(npcname, "Vagos", true))
        {
            PutPlayerInVehicle(playerid, Vagos_dbcar, 0);
            SetPlayerSkin(playerid, 110);
            SetPlayerColor(playerid, 0xFFFF00AA);
            gTeam[playerid] = TEAM_VAGOS;
        }
        if(!strcmp(npcname, "Grove", true))
        {
            PutPlayerInVehicle(playerid, Grove_dbcar, 0);
            SetPlayerSkin(playerid, 105);
            SetPlayerColor(playerid, 0x33AA33AA);
            gTeam[playerid] = TEAM_GROVE;
        }
    }
        if(gTeam[playerid] == TEAM_GROVE)//if team one when they spawn..
    {
        SetPlayerPos(playerid,2510.3369,-1673.5551,13.4290);//set player here..
        SetPlayerColor(playerid, 0x33AA33AA);
    }
        if(gTeam[playerid] == TEAM_BALLA)//if team two when they spawn..
    {
        SetPlayerPos(playerid, 2173.9883,-1678.6250,15.0091);//set player here..
        SetPlayerColor(playerid, 0xFF00FFAA);
    }
        if(gTeam[playerid] == TEAM_VAGOS)//if team three when they spawn..
    {
        SetPlayerPos(playerid, 2858.6323,-1308.2177,14.3633);//set player here..
        SetPlayerColor(playerid, 0xFFFF00AA);
    }
   
    GangZoneShowForPlayer(playerid, GROVE, 0x00FF008B);
    GangZoneShowForPlayer(playerid, VAGOS, 0xFFFF0096);
    GangZoneShowForPlayer(playerid, BALLAS, 0x80008096);
    SetPlayerWorldBounds(playerid, 2927.337, 1923.388, -1054.171, -1942.413);
}
Replace:
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
        if(!strcmp(npcname, "Balla", true)) //Checking if the NPC's name is MyFirstNPC
        {
            PutPlayerInVehicle(playerid, Balla_dbcar, 0);
            SetPlayerSkin(playerid, 104);
            SetPlayerColor(playerid, 0xFF00FFAA);
            gTeam[playerid] = TEAM_BALLA;
        }
        if(!strcmp(npcname, "Vagos", true))
        {
            PutPlayerInVehicle(playerid, Vagos_dbcar, 0);
            SetPlayerSkin(playerid, 110);
            SetPlayerColor(playerid, 0xFFFF00AA);
            gTeam[playerid] = TEAM_VAGOS;
        }
        if(!strcmp(npcname, "Grove", true))
        {
            PutPlayerInVehicle(playerid, Grove_dbcar, 0);
            SetPlayerSkin(playerid, 105);
            SetPlayerColor(playerid, 0x33AA33AA);
            gTeam[playerid] = TEAM_GROVE;
        }
    }
    if(gTeam[playerid] == TEAM_GROVE)//if team one when they spawn..
    {
        SetPlayerPos(playerid,2510.3369,-1673.5551,13.4290);//set player here..
        SetPlayerColor(playerid, 0x33AA33AA);
    }
    if(gTeam[playerid] == TEAM_BALLA)//if team two when they spawn..
    {
        SetPlayerPos(playerid, 2173.9883,-1678.6250,15.0091);//set player here..
        SetPlayerColor(playerid, 0xFF00FFAA);
    }
    if(gTeam[playerid] == TEAM_VAGOS)//if team three when they spawn..
    {
        SetPlayerPos(playerid, 2858.6323,-1308.2177,14.3633);//set player here..
        SetPlayerColor(playerid, 0xFFFF00AA);
    }
   
    GangZoneShowForPlayer(playerid, GROVE, 0x00FF008B);
    GangZoneShowForPlayer(playerid, VAGOS, 0xFFFF0096);
    GangZoneShowForPlayer(playerid, BALLAS, 0x80008096);
    SetPlayerWorldBounds(playerid, 2927.337, 1923.388, -1054.171, -1942.413);
}
Then you will have NO errors and NO warnings!
Its not hard to fix, but here you go
Reply
#10

thx for the fix

can anybody please help me with making npc cars vulnerable ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)