SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 18/05/2011, 04:57 PM   #1
PhantomDot1
Little Clucker
 
PhantomDot1's Avatar
 
Join Date: Jan 2011
Posts: 46
Reputation: 0
Default Phantom's GangWar V1.0

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:
http://forum.sa-mp.com/showthread.php?p=1208830

NEED HELP:
Anybody who can help me with making NPC's vulnerable, plz pm or email me!!
plz check this thread: http://forum.sa-mp.com/showthread.php?p=1208830

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
__________________
[SIZE="3"]||| My Work:
[Gamemode]Phantom's GangWar v2.0

Last edited by PhantomDot1; 20/05/2011 at 07:05 PM.
PhantomDot1 is offline   Reply With Quote
Old 18/05/2011, 05:18 PM   #2
BASITJALIL
Gangsta
 
Join Date: Mar 2010
Location: C:\WINDOWS\system32\BasitJalil.dll
Posts: 513
Reputation: 7
Default Re: Phantom's GangWar V1.0

Nice for your first FS
BASITJALIL is offline   Reply With Quote
Old 18/05/2011, 05:23 PM   #3
Soumi
Huge Clucker
 
Soumi's Avatar
 
Join Date: Feb 2011
Location: Tunisia
Posts: 307
Reputation: 39
Default Re : Phantom's GangWar V1.0

Good work.
__________________

Blueberry Prison Roleplay coming back?! MAYBE!
Soumi is offline   Reply With Quote
Old 18/05/2011, 05:43 PM   #4
deadsecret
Little Clucker
 
Join Date: Oct 2010
Location: Germany
Posts: 47
Reputation: 2
Question AW: Phantom's GangWar V1.0

do you have pics?
deadsecret is offline   Reply With Quote
Old 18/05/2011, 06:22 PM   #5
PhantomDot1
Little Clucker
 
PhantomDot1's Avatar
 
Join Date: Jan 2011
Posts: 46
Reputation: 0
Default Re: AW: Phantom's GangWar V1.0

Quote:
Originally Posted by deadsecret View Post
do you have pics?
pics of what?
than i can make them
__________________
[SIZE="3"]||| My Work:
[Gamemode]Phantom's GangWar v2.0
PhantomDot1 is offline   Reply With Quote
Old 18/05/2011, 06:37 PM   #6
xalith
Big Clucker
 
xalith's Avatar
 
Join Date: Mar 2009
Location: Jordan
Posts: 148
Reputation: 3
Default Re: Phantom's GangWar V1.0

[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
xalith is offline   Reply With Quote
Old 18/05/2011, 06:46 PM   #7
PhantomDot1
Little Clucker
 
PhantomDot1's Avatar
 
Join Date: Jan 2011
Posts: 46
Reputation: 0
Default Re: Phantom's GangWar V1.0

[quote=xalith;1211623]
Quote:
Originally Posted by PhantomDot1 View Post
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.
__________________
[SIZE="3"]||| My Work:
[Gamemode]Phantom's GangWar v2.0
PhantomDot1 is offline   Reply With Quote
Old 18/05/2011, 06:59 PM   #8
PhantomDot1
Little Clucker
 
PhantomDot1's Avatar
 
Join Date: Jan 2011
Posts: 46
Reputation: 0
Default Re: Phantom's GangWar V1.0

btw how can i get my pic back in the signature box?
__________________
[SIZE="3"]||| My Work:
[Gamemode]Phantom's GangWar v2.0
PhantomDot1 is offline   Reply With Quote
Old 18/05/2011, 07:12 PM   #9
NRJ53
Big Clucker
 
Join Date: Jan 2011
Posts: 91
Reputation: 10
Default Re: Phantom's GangWar V1.0

Loose Indentation Fix:

Find:
pawn Code:
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 Code:
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
__________________
Twisted-Gamers
NRJ53 is offline   Reply With Quote
Old 19/05/2011, 05:21 AM   #10
PhantomDot1
Little Clucker
 
PhantomDot1's Avatar
 
Join Date: Jan 2011
Posts: 46
Reputation: 0
Default Re: Phantom's GangWar V1.0

thx for the fix

can anybody please help me with making npc cars vulnerable ?
__________________
[SIZE="3"]||| My Work:
[Gamemode]Phantom's GangWar v2.0
PhantomDot1 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
San Fiero GangWar cedryk_cedryk Filterscripts 9 05/07/2011 01:36 AM
[GameMode] GangWar / Rp 1.0.3c raiden96ita Gamemode Scripts 11 05/05/2011 02:03 PM
Ideas for my Gangwar Maftaca Help Archive 1 16/02/2011 01:23 AM
[Help] Gangwar final08 Help Archive 2 15/10/2009 11:48 AM


All times are GMT. The time now is 09:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.