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...