Question
#1

Guys i have made a sniper class but i cant figure out how to make if a player picks it he is invisable on map only like in COD5 and WaW

Can you please help me
here is the code that i am using right now
pawn Код:
if(listitem == 1)
          {

             if(GetPlayerScore(playerid) < 150) return ShowPlayerDialog(playerid,DIALOG_SKILL,DIALOG_STYLE_LIST,"Select your skill","Assault - Free\nSniper - 150 score\nEngineer - 300 score\nPilot - 550 score\nGunner - 700 score","Ok","");
             else if(GetPlayerScore(playerid) >= 150)
             {
                GivePlayerWeapon(playerid,4,0);
                GivePlayerWeapon(playerid,24,500);
                GivePlayerWeapon(playerid,27,300);
                GivePlayerWeapon(playerid,34,500);
                Sniper[playerid] =1;
                SendClientMessage(playerid,COLOR_ORANGE,"You have successfully chosen Sniper kit!");
                SendClientMessage(playerid,COLOR_ORANGE,"Features: For now this skill only has a sniper. More features for this kit will come out soon!");
             }
          }
Reply


Messages In This Thread
Question - by DarkLored - 17.02.2014, 22:32
Re: Question - by Lajko1 - 17.02.2014, 22:35
Re: Question - by DarkLored - 17.02.2014, 22:41
Re: Question - by Lajko1 - 17.02.2014, 23:28
Re: Question - by DarkLored - 17.02.2014, 23:42
Re: Question - by Don_Cage - 17.02.2014, 23:57
Re: Question - by DarkLored - 18.02.2014, 00:11

Forum Jump:


Users browsing this thread: 1 Guest(s)