15.10.2011, 06:49
Have a good read through that code you posted.
With what you can gather from the wiki for SetPlayerColor, look where it turns admin ON and then OFF, this is where you want to use that function to change to red and to white (it's pretty easy to find as there is actual text in a message which says your on and off duty).
Also note where [pAdmin] is set to 1 (which means ON admin duty) and set to 0 (which means OFF admin duty).
Most variables like this are the same, 0 is OFF and 1 is ON.
With what you can gather from the wiki for SetPlayerColor, look where it turns admin ON and then OFF, this is where you want to use that function to change to red and to white (it's pretty easy to find as there is actual text in a message which says your on and off duty).
Also note where [pAdmin] is set to 1 (which means ON admin duty) and set to 0 (which means OFF admin duty).
Most variables like this are the same, 0 is OFF and 1 is ON.