stock
#10

Quote:
Originally Posted by Man43
Посмотреть сообщение
its should be like this?

Код:
SetPlayerColors(playerid, level)
{
  switch(GetPlayerWantedLevel(playerid))
{
    case 0: SetPlayerColor(playerid, COLOR_WHITE);
    case 1 .. 3: SetPlayerColor(playerid, COLOR_YELLOW);
    case 4 .. 10: SetPlayerColor(playerid, COLOR_ORANGE)
    default: SetPlayerColor(playerid, COLOR_DARKORANGE);
}
  return 1;
}
You have level as argument but you dont use it, instead you use GetPlayerWantedLevel. My guess is that you dont set that wanted level in first place. Anyway try replacing GetPlayerWantedLevel(playerid) with level
Reply


Messages In This Thread
stock - by Man43 - 20.04.2017, 18:42
Re: stock - by AndreiWow - 20.04.2017, 18:46
Re: stock - by Vince - 20.04.2017, 18:48
Re: stock - by Man43 - 20.04.2017, 18:52
Re: stock - by AndreiWow - 20.04.2017, 19:00
Re: stock - by Man43 - 20.04.2017, 19:01
Re: stock - by AndreiWow - 20.04.2017, 19:02
Re: stock - by Man43 - 20.04.2017, 19:04
Re: stock - by Bolex_ - 20.04.2017, 19:06
Re: stock - by DRIFT_HUNTER - 20.04.2017, 19:37

Forum Jump:


Users browsing this thread: 1 Guest(s)