04.01.2019, 15:33
Hello, how do I make "SetPlayerMarkerForPlayer" show to a certain group of players?:
Код:
if(PLAYER_TEMP[i][pt_WORKING_IN] == WORK_POLICE)
if(PLAYER_TEMP[i][pt_WORKING_IN] == WORK_POLICE)
FunctionName( playerid, var1 ){
foreach( new i : OnDutyCops ){
//Example:
SetPlayerMarkerForPlayer( i, var1, COLOR_LIGHTRED ) ;
SCMEx( i, COLOR_YELLOWG, "debug: Player %d location marked with COLOR_LIGHTRED", var1 ) ;
}}
return 1 ;
}