SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 04/06/2017, 12:19 PM   #221
NoahF
Gangsta
 
NoahF's Avatar
 
Join Date: Jul 2012
Location: Connecticut, USA
Posts: 871
Reputation: 37
Default Re: Zombie Apocalypse Afterlife [New Textdraws & More]

Great update! Will probably be using this, thanks!
NoahF is offline   Reply With Quote
Old 12/06/2017, 02:39 PM   #222
Bernadeath
Banned
 
Join Date: Jun 2017
Location: Philippines
Posts: 16
Reputation: 8
Default Re: Zombie Apocalypse Afterlife [New Textdraws & More]

Another bugged, when human hit the TEAM they get earn score,, IDK why! fix this please.
Bernadeath is offline   Reply With Quote
Old 21/06/2017, 01:58 PM   #223
predvkill
Little Clucker
 
predvkill's Avatar
 
Join Date: Mar 2016
Location: Tunisia
Posts: 4
Reputation: 0
Default Re: Zombie Apocalypse Afterlife [New Textdraws & More]

Nice Job +Rep
__________________
My Works

Coming Soon

[GameMode]
[FilterScript]
[Tutorial]
[MAP]


My Donation Page : http://ultra-h.com/donate.php?duser=Achref_Ben_Brahim
predvkill is offline   Reply With Quote
Old 22/06/2017, 11:22 PM   #224
Astralis
High-roller
 
Join Date: Sep 2009
Location: France
Posts: 2,799
Reputation: 352
Default Re: Zombie Apocalypse Afterlife [New Textdraws & More]

Quote:
Originally Posted by Bernadeath View Post
Another bugged, when human hit the TEAM they get earn score,, IDK why! fix this please.
Well not that much of a bug. You can fix it easily.
__________________
Astralis is online now   Reply With Quote
Old 11/07/2017, 08:44 AM   #225
doctorbenny
Little Clucker
 
doctorbenny's Avatar
 
Join Date: Sep 2016
Location: In-Game/Forum
Posts: 6
Reputation: 0
Default Re: Zombie Apocalypse Afterlife [New Textdraws & More]

Thank you so much!Nice Gamemode! I will use it and edit it in my server!

Last edited by doctorbenny; 11/07/2017 at 01:44 PM.
doctorbenny is offline   Reply With Quote
Old 16/07/2017, 05:39 AM   #226
Whethan
Little Clucker
 
Join Date: Jul 2017
Location: Romania
Posts: 3
Reputation: 0
Default Re: Zombie Apocalypse Afterlife [New Textdraws & More]

Quote:
Originally Posted by Bernadeath View Post
Another bugged, when human hit the TEAM they get earn score,, IDK why! fix this please.
Any ideeas how can be fixed? Begginer at scripting, for the moment.
Whethan is offline   Reply With Quote
Old 16/07/2017, 05:53 AM   #227
Paulice
Big Clucker
 
Paulice's Avatar
 
Join Date: Jul 2017
Posts: 179
Reputation: 26
Default Re: Zombie Apocalypse Afterlife [New Textdraws & More]

Quote:
Originally Posted by Whethan View Post
Any ideeas how can be fixed? Begginer at scripting, for the moment.
The code can be found under OnPlayerTakeDamage.

PHP Code:
if(team[issuerid] == TEAM_ZOMBIE || TEAM_HUMAN)
{
    if(
pInfo[issuerid][pHour] <= 2)
    {
        if(
team[playerid] == TEAM_HUMAN)
        {
            
pInfo[issuerid][pXP] += 10;
        }
    }

If you want zombies to get score when they damage a human:
PHP Code:
if(team[issuerid] == TEAM_ZOMBIE)
{
    if(
pInfo[issuerid][pHour] <= 2)
    {
        if(
team[playerid] == TEAM_HUMAN)
        {
            
pInfo[issuerid][pXP] += 10;
        }
    }

If you want humans to get score when they damage a zombie:
PHP Code:
if(team[issuerid] == TEAM_HUMAN)
{
    if(
pInfo[issuerid][pHour] <= 2)
    {
        if(
team[playerid] == TEAM_ZOMBIE)
        {
            
pInfo[issuerid][pXP] += 10;
        }
    }

Paulice 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
[Map] [BIG] Zombie Apocalypse Map TheSAMPGamer Maps 11 13/07/2014 12:51 AM
[BIG] Zombie Apocalypse Map [NEW] TheSAMPGamer Screenshots and Videos 3 15/04/2014 04:00 PM


All times are GMT. The time now is 04:46 PM.


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