SetPlayerName || HextoRGB
#4

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
PHP код:
CMD:color(playerid,params[]){
    new 
color
    sscanf
(params,"x",color);
    
SetPlayerColor(playerid,((color << 8) | 0xFF));
    return 
1;

((color << 8) | 0xFF) - Why? Doesn't SSCANF already return the correct value?

@iLearner - ^
Reply


Messages In This Thread
SetPlayerName || HextoRGB - by iLearner - 14.11.2016, 19:24
Re: SetPlayerName || HextoRGB - by AbyssMorgan - 14.11.2016, 19:32
Re: SetPlayerName || HextoRGB - by iLearner - 14.11.2016, 19:33
Re: SetPlayerName || HextoRGB - by SickAttack - 14.11.2016, 19:38
Re: SetPlayerName || HextoRGB - by AbyssMorgan - 14.11.2016, 19:41
Re: SetPlayerName || HextoRGB - by Vince - 14.11.2016, 19:41
Re: SetPlayerName || HextoRGB - by iLearner - 14.11.2016, 19:49
Re: SetPlayerName || HextoRGB - by AbyssMorgan - 14.11.2016, 19:53
Re: SetPlayerName || HextoRGB - by iLearner - 14.11.2016, 19:56
Re: SetPlayerName || HextoRGB - by iLearner - 14.11.2016, 20:38

Forum Jump:


Users browsing this thread: 2 Guest(s)