SA-MP Forums Archive
Fast Guys Help me ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Fast Guys Help me ? (/showthread.php?tid=606315)



Fast Guys Help me ? - RedRex - 02.05.2016

Hi Guys i need help with If a Player Join Cops Class Give him Colour Blue i have color blue but don't know how to i can make it When Player Join Cops Give him Color Blue!


Re: Fast Guys Help me ? - F1N4L - 02.05.2016

Example:

0 = cops

Код:
public OnPlayerRequestClass(playerid,classid)
{
    if(classid == 0) return SetPlayerColor(playerid, 0x0099CCFF);

    return 1;
}



Re: Fast Guys Help me ? - Darkwood17 - 02.05.2016

How can we help you without giving codes or just the check for cop.
Have you defined the cop class anyways?


Re: Fast Guys Help me ? - Dayrion - 02.05.2016

Hello RedRex!
You need to try by yourself before asking for help or you will never improve your scripting.
What do you want make blue? His marker ? Check : SetPlayerMarkerForPlayer!
His name ?


Re: Fast Guys Help me ? - oMa37 - 02.05.2016

16 Reps, 159 Posts, Join date 17/01/2016, And you don't know how to set a color?
Shame on you man...