06.05.2014, 22:51
Sorry for the double post -- But how would I go about setting a player's marker as invisible for only the sniper class?
Here, this might help:
I have read the "SetPlayerMarkerForPlayer" Wiki page, and I just don't understand! :P
Here, this might help:
pawn Код:
case 1:
{
new score = GetPlayerScore(playerid);
if(score > 50 && score < 200)//Sniper
{
GivePlayerWeapon(playerid, 8, 1); //katana
GivePlayerWeapon(playerid, 17, 5); //Teargas
GivePlayerWeapon(playerid, 24, 100); //Deagle
GivePlayerWeapon(playerid, 25, 50); //Shotgun
GivePlayerWeapon(playerid, 34, 300); //Sniper
SendClientMessage(playerid, COLOR_GREEN, "You are in the Sniper class.");
}
else SendClientMessage(playerid, COLOR_RED, "You do not have enough score for this class.");
}