21.02.2012, 14:17
Hello,
I'm bussy to change the Vortex Script into an Cops 'n robbers script.
If its done i will release it.
But now i have a problem.
I want if the cops are on duty, they dont get a white color again so i tried this
but that doesn't work..
Then they get automatich On DUTY.
Please help!
I'm bussy to change the Vortex Script into an Cops 'n robbers script.
If its done i will release it.
But now i have a problem.
I want if the cops are on duty, they dont get a white color again so i tried this
pawn Код:
public OnPlayerSpawn(playerid)
{
if(Player[playerid][CopDuty] = 1){
SetPlayerColor(playerid, COLOR_BLUE);
}
if(Player[playerid][MedicDuty] = 1){
SetPlayerColor(playerid, COLOR_LGREEN);
}
return 1;
}
Then they get automatich On DUTY.
Please help!