SA-MP Forums Archive
[GameMode] Infection - 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] Infection (/showthread.php?tid=492457)

Pages: 1 2


Re: Infection - fonia5 - 13.10.2014

nice script.


Re: Infection - Blunt - 13.10.2014

Quote:
Originally Posted by Rudy_
Посмотреть сообщение
Nice work, Could add more features as well
Feel free to make your own version with more advancements, however I created it specifically to be a simple, yet fun gamemode.


Re: Infection - Crayder - 14.10.2014

You want a suggestion?

You provided a great storyline, on here... I think you should incorpaorate the storyline to the server :P... Like when a player registers and what ever, use a bunch of camera movements and stuff to let the players know what its about... (One great place to show the players would be that zombie building in SF, dont remember exactly where it is but it would be great to see something like this ;P...).


Re: Infection - Ghazal - 14.10.2014

Awesome one


Re: Infection - Blunt - 14.10.2014

Код:
Update #0002
• Every 4 minutes a random message is broadcasted, eg. "Weapon unlocks are available! The more kills you get the more weapons your able to gain, get killing!"
• Administrators are now distinguished by a lazer attached onto there weapon.
• Weaponry is now added, you now spawn with a knife and a colt 45.
• Scoring system that assigns you with new weapon unlocks, such as when you reach a score of 5 you unlock and spawn with a desert eagle, instead of the glock.
• Weapon skills set, so you cannot akimbo with weapons.
• Brand new headshot system, if you shoot an infected player in the head, more health is declined than a regular shot.



Re: Infection - NeGaTiveZ - 14.10.2014

Nice


Re: Infection - XGreen - 15.10.2014

can you add a screenshots or videos? thanks


Re: Infection - Airblog - 15.10.2014

How to fix errors?
Код:
error 025: function heading differs from prototype


Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
	if(GetPlayerTeam(playerid) == TEAM_INFECTED){SetPlayerTeam(damagedid,TEAM_INFECTED),SpawnPlayer(damagedid),SendClientMessage(playerid,COLOR_RED,#Infected. Spread the infection to the living.),infected[playerid] = true;}
	return 1;
}

public OnPlayerTakeDamage(playerid,issuerid,Float:amount,weaponid,bodypart)
{
    new Float:health;
    GetPlayerHealth(playerid,health);
    if(bodypart == 9) {SetPlayerHealth(playerid, health-40);} // If takes damage to the head region
	else{SetPlayerHealth(playerid, health-25);} // If anywhere other than the head region
    return 1;
}



Re: Infection - Blunt - 15.10.2014

Quote:
Originally Posted by Airblog
Посмотреть сообщение
How to fix errors?
Код:
error 025: function heading differs from prototype


Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
	if(GetPlayerTeam(playerid) == TEAM_INFECTED){SetPlayerTeam(damagedid,TEAM_INFECTED),SpawnPlayer(damagedid),SendClientMessage(playerid,COLOR_RED,#Infected. Spread the infection to the living.),infected[playerid] = true;}
	return 1;
}

public OnPlayerTakeDamage(playerid,issuerid,Float:amount,weaponid,bodypart)
{
    new Float:health;
    GetPlayerHealth(playerid,health);
    if(bodypart == 9) {SetPlayerHealth(playerid, health-40);} // If takes damage to the head region
	else{SetPlayerHealth(playerid, health-25);} // If anywhere other than the head region
    return 1;
}
Try download the latest sa-mp server files and update your folder with them. I'm not sure how to fix that but it's not the script its something in your scripting folder.


Re: Infection - Blunt - 16.10.2014

Код:
Update #0003
• Audio streams added for when a player is 'Infected' & when the round is over.
• Script optimized and now loads faster after created efficient space where lines are merged.
Audio updates; INFECTED (Click me) | GAME OVER (Click me)



Re: Infection - Crayder - 16.10.2014

BLunt, we cant access those files, we dont have permission


Re: Infection - Blunt - 16.10.2014

Quote:
Originally Posted by Crayder
Посмотреть сообщение
BLunt, we cant access those files, we dont have permission
Which files?


Re: Infection - Crayder - 16.10.2014

the mp3's


Re: Infection - Blunt - 18.10.2014

Quote:
Originally Posted by Crayder
Посмотреть сообщение
the mp3's
It still plays the audio in-game.


Re: Infection - Glossy42O - 18.10.2014

I don't like it.

Sorry.


Re: Infection - dapimp - 06.11.2014

Very innovative


Re: Infection - Rexonaown - 07.11.2014

Good Job mate.


Re: Infection - advolna1995 - 07.11.2014

Good job!


Re: Infection - Vince123 - 08.11.2014

Good!


Re: Infection - C4SH - 03.04.2015

Looks great.