PDA

View Full Version : Fast Guys Help me ?


RedRex
02/05/2016, 04:58 PM
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!

F1N4L
02/05/2016, 05:03 PM
Example:

0 = cops


public OnPlayerRequestClass(playerid,classid)
{
if(classid == 0) return SetPlayerColor(playerid, 0x0099CCFF);

return 1;
}

Darkwood17
02/05/2016, 05:03 PM
How can we help you without giving codes or just the check for cop.
Have you defined the cop class anyways?

Dayrion
02/05/2016, 05:05 PM
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 (https://wiki.sa-mp.com/wiki/SetPlayerMarkerForPlayer)!
His name ?

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