08.04.2012, 01:02
Hi there! I'm currently trying to create a gun game, developed using samp's LVDM gamemode.
What I need help with is how to set up the if's and else's when it comes to giving weapons..
If your familiar with "gun games", then what I want is to basically tell the script that when a player gets 1 score after a kill, he'll get a new weapon.
So basically I was going in the direction where the script would contain:
Do you get what I mean?
If you can assist me with this for free, I would be much obliged...
I'm looking forward to hearing from you!
Sincerely, Facepunch
What I need help with is how to set up the if's and else's when it comes to giving weapons..
If your familiar with "gun games", then what I want is to basically tell the script that when a player gets 1 score after a kill, he'll get a new weapon.
So basically I was going in the direction where the script would contain:
pawn Code:
if GetPlayerScore = 1
{
giveplayerweapon....
else if
getplayerscore = 2
giveplayerweapon...
Do you get what I mean?
If you can assist me with this for free, I would be much obliged...
I'm looking forward to hearing from you!
Sincerely, Facepunch