SA-MP Forums Archive
[GameMode] 4ir-W4ys GunGame, Simple & Fun. - 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] 4ir-W4ys GunGame, Simple & Fun. (/showthread.php?tid=278233)



4ir-W4ys GunGame, Simple & Fun. - 4ir-W4ys - 21.08.2011

Gun Game
by 4ir-W4ys


I decided to Make my 4th Script, Which is Acually My First GameMode
It called
"Gun Game" In the Players Spawn, The Players Get 4-5 Weapons (Forgot the Exacly Number...)
And Every Kill He Gets Another Weapon. And When he dies, He weapons reset to the Spawn Weapons.
There are 9 Levels Of Weapons. Which the Last Weapon is MiniGun.
There are Basicly 3 Commands and more one Command for Rcons:
Код:
/Help - You Probly Know what is it.
/Objective - Shows The Player Whats The Server Objective(There Is Credit of mine there Do Not Delete It!)
/rules - Shows The Player The Server Rules. (There is 1 rule: No Hacking.)
Rcon Command: /menu - Reloads, Changing the server Setting (SCS.inc v1.0)
You will need SCS.inc ( Check It In My Singture ) And Dini.inc ( You Probly Have That. )

Download
SolidFiles


Re: 4ir-W4ys GunGame, Simple & Fun. - Lorenc_ - 21.08.2011

Gungame isn't like that, when you get a kill your weapon tier upgrades. If you get stabbed you're demoted. - Goes back to your tier before.

Haha, you're not even using DINI.


Re: 4ir-W4ys GunGame, Simple & Fun. - Kaperstone - 21.08.2011

look good..
its good for newbie's
but 1 think i dont get it...
why are you giving to player ho die a weapon?
pawn Код:
ResetPlayerWeapons(playerid);
    SetPVarInt(playerid, "lvl", 0);
    SetPVarInt(playerid, "lvl", GetPVarInt(playerid, "lvl")+1);
    if(GetPVarInt(playerid, "lvl") >= 1) GivePlayerWeapon(playerid, 18, 10000);
    if(GetPVarInt(playerid, "lvl") >= 2) GivePlayerWeapon(playerid, 28, 10000);
    if(GetPVarInt(playerid, "lvl") >= 3) GivePlayerWeapon(playerid, 16, 10000);
    if(GetPVarInt(playerid, "lvl") >= 4) GivePlayerWeapon(playerid, 34, 10000);
    if(GetPVarInt(playerid, "lvl") >= 5) GivePlayerWeapon(playerid, 27, 10000);
    if(GetPVarInt(playerid, "lvl") >= 6) GivePlayerWeapon(playerid, 26, 10000);
    if(GetPVarInt(playerid, "lvl") >= 7) GivePlayerWeapon(playerid, 37, 10000);
    if(GetPVarInt(playerid, "lvl") >= 8) GivePlayerWeapon(playerid, 38, 10000);
    if(GetPVarInt(playerid, "lvl") >= 9) SendClientMessage(playerid, White, "You have All the Weapons already!");
if you want to give the killer weapon than you should replace the playerid with killerid ::
pawn Код:
ResetPlayerWeapons(playerid);
    SetPVarInt(killerid, "lvl", 0);
    SetPVarInt(killerid, "lvl", GetPVarInt(killerid, "lvl")+1);
    if(GetPVarInt(killerid, "lvl") >= 1) GivePlayerWeapon(killerid, 18, 10000);
    if(GetPVarInt(killerid, "lvl") >= 2) GivePlayerWeapon(killerid, 28, 10000);
    if(GetPVarInt(killerid, "lvl") >= 3) GivePlayerWeapon(killerid, 16, 10000);
    if(GetPVarInt(killerid, "lvl") >= 4) GivePlayerWeapon(killerid, 34, 10000);
    if(GetPVarInt(killerid, "lvl") >= 5) GivePlayerWeapon(killerid, 27, 10000);
    if(GetPVarInt(killerid, "lvl") >= 6) GivePlayerWeapon(killerid, 26, 10000);
    if(GetPVarInt(killerid, "lvl") >= 7) GivePlayerWeapon(killerid, 37, 10000);
    if(GetPVarInt(killerid, "lvl") >= 8) GivePlayerWeapon(killerid, 38, 10000);
    if(GetPVarInt(killerid, "lvl") >= 9) SendClientMessage(killerid, White, "You have All the Weapons already!");
_________________________
i've taked a look at your GM,
and.. ::
- You didnt noticed that people will need to Download SCS.inc
- you just copied/pasted
- didnt make spawn place's
- not invested
dude.. :S
i have no words for you...


Re: 4ir-W4ys GunGame, Simple & Fun. - 4ir-W4ys - 21.08.2011

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Gungame isn't like that, when you get a kill your weapon tier upgrades. If you get stabbed you're demoted. - Goes back to your tier before.

Haha, you're not even using DINI.
SCS.inc, Suported by Dini.inc

Quote:
Originally Posted by xkirill
Посмотреть сообщение
look good..
its good for newbie's
but 1 think i dont get it...
why are you giving to player ho die a weapon?
pawn Код:
ResetPlayerWeapons(playerid);
    SetPVarInt(playerid, "lvl", 0);
    SetPVarInt(playerid, "lvl", GetPVarInt(playerid, "lvl")+1);
    if(GetPVarInt(playerid, "lvl") >= 1) GivePlayerWeapon(playerid, 18, 10000);
    if(GetPVarInt(playerid, "lvl") >= 2) GivePlayerWeapon(playerid, 28, 10000);
    if(GetPVarInt(playerid, "lvl") >= 3) GivePlayerWeapon(playerid, 16, 10000);
    if(GetPVarInt(playerid, "lvl") >= 4) GivePlayerWeapon(playerid, 34, 10000);
    if(GetPVarInt(playerid, "lvl") >= 5) GivePlayerWeapon(playerid, 27, 10000);
    if(GetPVarInt(playerid, "lvl") >= 6) GivePlayerWeapon(playerid, 26, 10000);
    if(GetPVarInt(playerid, "lvl") >= 7) GivePlayerWeapon(playerid, 37, 10000);
    if(GetPVarInt(playerid, "lvl") >= 8) GivePlayerWeapon(playerid, 38, 10000);
    if(GetPVarInt(playerid, "lvl") >= 9) SendClientMessage(playerid, White, "You have All the Weapons already!");
if you want to give the killer weapon than you should replace the playerid with killerid ::
pawn Код:
ResetPlayerWeapons(playerid);
    SetPVarInt(killerid, "lvl", 0);
    SetPVarInt(killerid, "lvl", GetPVarInt(killerid, "lvl")+1);
    if(GetPVarInt(killerid, "lvl") >= 1) GivePlayerWeapon(killerid, 18, 10000);
    if(GetPVarInt(killerid, "lvl") >= 2) GivePlayerWeapon(killerid, 28, 10000);
    if(GetPVarInt(killerid, "lvl") >= 3) GivePlayerWeapon(killerid, 16, 10000);
    if(GetPVarInt(killerid, "lvl") >= 4) GivePlayerWeapon(killerid, 34, 10000);
    if(GetPVarInt(killerid, "lvl") >= 5) GivePlayerWeapon(killerid, 27, 10000);
    if(GetPVarInt(killerid, "lvl") >= 6) GivePlayerWeapon(killerid, 26, 10000);
    if(GetPVarInt(killerid, "lvl") >= 7) GivePlayerWeapon(killerid, 37, 10000);
    if(GetPVarInt(killerid, "lvl") >= 8) GivePlayerWeapon(killerid, 38, 10000);
    if(GetPVarInt(killerid, "lvl") >= 9) SendClientMessage(killerid, White, "You have All the Weapons already!");
_________________________
i've taked a look at your GM,
and.. ::
- You didnt noticed that people will need to Download SCS.inc
- you just copied/pasted
- didnt make spawn place's
- not invested
dude.. :S
i have no words for you...
1. I will fix.
2. AddPlayerClass...
3. You said More Than "No Word"