27.07.2013, 17:27
This will solve the warnings:
Also, what do you mean with "rp system"?
pawn Код:
CMD:gunpack(playerid, params[])
{
if(GetPlayerScore(playerid) >= 0) // regular player
{
GivePlayerWeapon(playerid, 22, 100); // you may change the weaps here
GivePlayerWeapon(playerid, 25, 100);
GivePlayerWeapon(playerid, 29, 100);
}
else if(GetPlayerScore(playerid) >= 300) // 300 score
{
GivePlayerWeapon(playerid, 24, 100);
GivePlayerWeapon(playerid, 27, 100);
GivePlayerWeapon(playerid, 32, 100);
}
else if(GetPlayerScore(playerid) >= 500) // 500 score
{
GivePlayerWeapon(playerid, 31, 130);
GivePlayerWeapon(playerid, 34, 100);
GivePlayerWeapon(playerid, 28, 230);
}
return 1;
}