SA-MP Forums Archive
[GameMode] Zombie-Mod 2 + Ranks [ unfinshed ] - 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: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Zombie-Mod 2 + Ranks [ unfinshed ] (/showthread.php?tid=208100)

Pages: 1 2


Zombie-Mod 2 + Ranks [ unfinshed ] - Kitten - 07.01.2011

>This is zombie-mod 2 not version 2 but it contiunes i was working on this but i stopped developing it because i'm really busy with work and school so i want to release this for others who like zombie mod but this is unfinshed does not have maps this is like starting a zombie-mod fresh but this includes lot of features + admin system

FEATURES

>Admin system
>Teams
Zombies:
1. Regular Zombie
2. Hunter ( Features high point jump )
3. Charger ( dunt added powers to this zombie )
Humans:
1. Regular Human ( aka civilian )
2. Medic ( power is that he can heal people )
3 . Army ( dunt added powers to this human )
> Weapons:

pawn Код:
// Weapons
#define AK          30      // ak47
#define DEAGLE      24      // Deagle
#define TEC9        32      // TEC9
#define M4          31      // M4
#define SMG         28      // MICRO SMG
#define NOWEAPON    0       // UNARMED
#define KNIFE       4       // KNIFE
#define CHAINSAW    9       // CHAINSAW
#define SMG2        29      // SMG 2
#define PISTOL      22      // 9mm
#define SPISTOL     23      // silence 9MM
#define SHOTGUN     25      // SHOTGUN
#define SSHOTGUN    26      // Sawnoff SHOTGUN
> Rank system
> the rank system has 21 levels the ranks go up by kills you get you can take a look in the mode
This shows how much kills u need for to rank up
you can change the numbers if u want
pawn Код:
if(PlayerInfo[playerid][Kills] == 25) return PlayerInfo[playerid][pRank] = 2;
    if(PlayerInfo[playerid][Kills] == 75) return PlayerInfo[playerid][pRank] = 3;
    if(PlayerInfo[playerid][Kills] == 150) return PlayerInfo[playerid][pRank] = 4;
    if(PlayerInfo[playerid][Kills] == 250) return PlayerInfo[playerid][pRank] = 5;
    if(PlayerInfo[playerid][Kills] == 400) return PlayerInfo[playerid][pRank] = 6;
    if(PlayerInfo[playerid][Kills] == 600) return PlayerInfo[playerid][pRank] = 7;
    if(PlayerInfo[playerid][Kills] == 750) return PlayerInfo[playerid][pRank] = 8;
    if(PlayerInfo[playerid][Kills] == 1000) return PlayerInfo[playerid][pRank] = 9;
    if(PlayerInfo[playerid][Kills] == 1300) return PlayerInfo[playerid][pRank] = 10;
    if(PlayerInfo[playerid][Kills] == 1650) return PlayerInfo[playerid][pRank] = 11;
    if(PlayerInfo[playerid][Kills] == 2050) return PlayerInfo[playerid][pRank] = 12;
    if(PlayerInfo[playerid][Kills] == 2500) return PlayerInfo[playerid][pRank] = 13;
    if(PlayerInfo[playerid][Kills] == 3000) return PlayerInfo[playerid][pRank] = 14;
    if(PlayerInfo[playerid][Kills] == 3550) return PlayerInfo[playerid][pRank] = 15;
    if(PlayerInfo[playerid][Kills] == 4200) return PlayerInfo[playerid][pRank] = 16;
    if(PlayerInfo[playerid][Kills] == 4950) return PlayerInfo[playerid][pRank] = 17;
    if(PlayerInfo[playerid][Kills] == 5700) return PlayerInfo[playerid][pRank] = 18;
    if(PlayerInfo[playerid][Kills] == 6500) return PlayerInfo[playerid][pRank] = 19;
    if(PlayerInfo[playerid][Kills] == 7550) return PlayerInfo[playerid][pRank] = 20;
    if(PlayerInfo[playerid][Kills] == 9000) return PlayerInfo[playerid][pRank] = 21;
>There are max admin levels of 10

Thats all i guess i think im missing some stuff but once i figure out ill edit the post

WARNING: You must have theses include for the gamemode
pawn Код:
#include <dini>
#include <sscanf2>
#include <zcmd>
#include <foreach>
Credits:

Kitten for gamemode
Willsuckformoney For admin system and gamemode
****** for Foreach
****** for sscanf2
DarcoBlue for dini
Zeex For zcmd



Download:

http://solidfiles.com/d/0788/
or
http://pastebin.com/hcviqUfZ
or
http://pastebay.com/113378




Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Ripster - 07.01.2011

Nice man, i test now!


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Kitten - 07.01.2011

well its unfinshed so its not worth testing you can add maps it would be better


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - npn10 - 07.01.2011

Please help me When I go to compile it
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(259) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(262) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(657) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(667) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(669) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(671) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(739) : error 017: undefined symbol "RemovePlayerAttachedObject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Kitten - 07.01.2011

Quote:
Originally Posted by npn10
Посмотреть сообщение
Please help me When I go to compile it
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(259) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(262) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(657) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(667) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(669) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(671) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Fellipe\Desktop\samp03bsvr_R2_win32\gamem odes\zA.pwn(739) : error 017: undefined symbol "RemovePlayerAttachedObject"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.
RemovePlayerAttachedObject
Is a function in 0.3c only


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Grim_ - 07.01.2011

There's no need to re-define the weapons, since these are already inside a_samp.inc
pawn Код:
#define WEAPON_BRASSKNUCKLE             (1)
#define WEAPON_GOLFCLUB                 (2)
#define WEAPON_NITESTICK                (3)
#define WEAPON_KNIFE                    (4)
#define WEAPON_BAT                      (5)
#define WEAPON_SHOVEL                   (6)
#define WEAPON_POOLSTICK                (7)
#define WEAPON_KATANA                   (8)
#define WEAPON_CHAINSAW                 (9)
#define WEAPON_DILDO                    (10)
#define WEAPON_DILDO2                   (11)
#define WEAPON_VIBRATOR                 (12)
#define WEAPON_VIBRATOR2                (13)
#define WEAPON_FLOWER                   (14)
#define WEAPON_CANE                     (15)
#define WEAPON_GRENADE                  (16)
#define WEAPON_TEARGAS                  (17)
#define WEAPON_MOLTOV                   (18)
#define WEAPON_COLT45                   (22)
#define WEAPON_SILENCED                 (23)
#define WEAPON_DEAGLE                   (24)
#define WEAPON_SHOTGUN                  (25)
#define WEAPON_SAWEDOFF                 (26)
#define WEAPON_SHOTGSPA                 (27)
#define WEAPON_UZI                      (28)
#define WEAPON_MP5                      (29)
#define WEAPON_AK47                     (30)
#define WEAPON_M4                       (31)
#define WEAPON_TEC9                     (32)
#define WEAPON_RIFLE                    (33)
#define WEAPON_SNIPER                   (34)
#define WEAPON_ROCKETLAUNCHER           (35)
#define WEAPON_HEATSEEKER               (36)
#define WEAPON_FLAMETHROWER             (37)
#define WEAPON_MINIGUN                  (38)
#define WEAPON_SATCHEL                  (39)
#define WEAPON_BOMB                     (40)
#define WEAPON_SPRAYCAN                 (41)
#define WEAPON_FIREEXTINGUISHER         (42)
#define WEAPON_CAMERA                   (43)
#define WEAPON_PARACHUTE                (46)
#define WEAPON_VEHICLE                  (49)
#define WEAPON_DROWN                    (53)
#define WEAPON_COLLISION                (54)



Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Kitten - 07.01.2011

Quote:
Originally Posted by Grim_
Посмотреть сообщение
There's no need to re-define the weapons, since these are already inside a_samp.inc
pawn Код:
#define WEAPON_BRASSKNUCKLE             (1)
#define WEAPON_GOLFCLUB                 (2)
#define WEAPON_NITESTICK                (3)
#define WEAPON_KNIFE                    (4)
#define WEAPON_BAT                      (5)
#define WEAPON_SHOVEL                   (6)
#define WEAPON_POOLSTICK                (7)
#define WEAPON_KATANA                   (8)
#define WEAPON_CHAINSAW                 (9)
#define WEAPON_DILDO                    (10)
#define WEAPON_DILDO2                   (11)
#define WEAPON_VIBRATOR                 (12)
#define WEAPON_VIBRATOR2                (13)
#define WEAPON_FLOWER                   (14)
#define WEAPON_CANE                     (15)
#define WEAPON_GRENADE                  (16)
#define WEAPON_TEARGAS                  (17)
#define WEAPON_MOLTOV                   (18)
#define WEAPON_COLT45                   (22)
#define WEAPON_SILENCED                 (23)
#define WEAPON_DEAGLE                   (24)
#define WEAPON_SHOTGUN                  (25)
#define WEAPON_SAWEDOFF                 (26)
#define WEAPON_SHOTGSPA                 (27)
#define WEAPON_UZI                      (28)
#define WEAPON_MP5                      (29)
#define WEAPON_AK47                     (30)
#define WEAPON_M4                       (31)
#define WEAPON_TEC9                     (32)
#define WEAPON_RIFLE                    (33)
#define WEAPON_SNIPER                   (34)
#define WEAPON_ROCKETLAUNCHER           (35)
#define WEAPON_HEATSEEKER               (36)
#define WEAPON_FLAMETHROWER             (37)
#define WEAPON_MINIGUN                  (38)
#define WEAPON_SATCHEL                  (39)
#define WEAPON_BOMB                     (40)
#define WEAPON_SPRAYCAN                 (41)
#define WEAPON_FIREEXTINGUISHER         (42)
#define WEAPON_CAMERA                   (43)
#define WEAPON_PARACHUTE                (46)
#define WEAPON_VEHICLE                  (49)
#define WEAPON_DROWN                    (53)
#define WEAPON_COLLISION                (54)
Oh there is, lol i barely notice thanks


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - MrDeath537 - 07.01.2011

Nice game mode



Tip:
pawn Код:
if(PlayerInfo[playerid][Kills] == 25) return PlayerInfo[playerid][pRank] = 2;
    if(PlayerInfo[playerid][Kills] == 75) return PlayerInfo[playerid][pRank] = 3;
    if(PlayerInfo[playerid][Kills] == 150) return PlayerInfo[playerid][pRank] = 4;
    if(PlayerInfo[playerid][Kills] == 250) return PlayerInfo[playerid][pRank] = 5;
    if(PlayerInfo[playerid][Kills] == 400) return PlayerInfo[playerid][pRank] = 6;
    if(PlayerInfo[playerid][Kills] == 600) return PlayerInfo[playerid][pRank] = 7;
    if(PlayerInfo[playerid][Kills] == 750) return PlayerInfo[playerid][pRank] = 8;
    if(PlayerInfo[playerid][Kills] == 1000) return PlayerInfo[playerid][pRank] = 9;
    if(PlayerInfo[playerid][Kills] == 1300) return PlayerInfo[playerid][pRank] = 10;
    if(PlayerInfo[playerid][Kills] == 1650) return PlayerInfo[playerid][pRank] = 11;
    if(PlayerInfo[playerid][Kills] == 2050) return PlayerInfo[playerid][pRank] = 12;
    if(PlayerInfo[playerid][Kills] == 2500) return PlayerInfo[playerid][pRank] = 13;
    if(PlayerInfo[playerid][Kills] == 3000) return PlayerInfo[playerid][pRank] = 14;
    if(PlayerInfo[playerid][Kills] == 3550) return PlayerInfo[playerid][pRank] = 15;
    if(PlayerInfo[playerid][Kills] == 4200) return PlayerInfo[playerid][pRank] = 16;
    if(PlayerInfo[playerid][Kills] == 4950) return PlayerInfo[playerid][pRank] = 17;
    if(PlayerInfo[playerid][Kills] == 5700) return PlayerInfo[playerid][pRank] = 18;
    if(PlayerInfo[playerid][Kills] == 6500) return PlayerInfo[playerid][pRank] = 19;
    if(PlayerInfo[playerid][Kills] == 7550) return PlayerInfo[playerid][pRank] = 20;
    if(PlayerInfo[playerid][Kills] == 9000) return PlayerInfo[playerid][pRank] = 21;
Don't use too much if, use switch:

pawn Код:
switch (PlayerInfo[playerid][Kills])
{
    case 25: return PlayerInfo[playerid][pRank] = 2;
    case 75: return PlayerInfo[playerid][pRank] = 3;
    case 150: return PlayerInfo[playerid][pRank] = 4;
    case 250: return PlayerInfo[playerid][pRank] = 5;
}



Re: Zombie-Mod 2 + Ranks [ unfinshed ] - willsuckformoney - 07.01.2011

Still sooo sexy.


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Kitten - 08.01.2011

Thanks


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Haydz - 08.01.2011

Very nice once again kitten, mind if i use your rank idea?


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Kitten - 08.01.2011

Quote:
Originally Posted by Hayden_Bruin
Посмотреть сообщение
Very nice once again kitten, mind if i use your rank idea?
Sure


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Lorenc_ - 08.01.2011

Lawl at the comments :P. Good gm kitty


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - JohnDoVaS12345 - 02.06.2011

1 Error Found


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Iphone1234g - 04.06.2011

first time i give u 3/10 sory but its have errors


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - k@lu - 04.06.2011

Nice work


AW: Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Julian12345 - 04.06.2011

Quote:
Originally Posted by Iphone1234g
Посмотреть сообщение
first time i give u 3/10 sory but its have errors
Then post them


Nice GM Kitten


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Hitman-97- - 04.06.2011

Kitten, are you a female?
Sorry if you are a male.


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Knight_Rider - 10.06.2011

Solid file link broken plz upload again on solidfile or sendspace.com plz


Re: Zombie-Mod 2 + Ranks [ unfinshed ] - Knight_Rider - 12.06.2011

o.O Link Broken can anyone upload this again and post it here..??