17.02.2014, 22:32
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
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!");
}
}