15.12.2015, 12:15
How can I add more then 3 weapons on AddPlayerClass?
stock GiveWeaponBySkin(playerid) {
switch(GetPlayerSkin(playerid)) {
case 0: { //if skin ID 0
GivePlayerWeapon(playerid,24,100);
SendClientMessage(playerid,COLOR_RED,"You are skin ID: 0 and you got a deagle!");
}
case 1: { //if skin ID 1
GivePlayerWeapon(playerid,31,100);
SendClientMessage(playerid,COLOR_RED,"You are skin ID: 1 and you got a M4!");
}
//etc. etc. etc.
}
return true;
}