13.08.2011, 10:29
It is possible to make that only one player(lets say admin) can see anyone on map and other players are invisible for each other?
if(IsPlayerAdmin) {
ShowPlayerMarkers(1);
}
else {
ShowPlayerMarkers(0);
}
|
try this,, (not sure if this is gonna work)
add it in "OnGameModeInit" pawn Код:
|
|
Use my code:P Everybody is invisible.
add this to at onplayerspawn if(IsPlayerAdmin) { SetPlayerPos(playerid,uadmincolour); } |
//top of u script
#define COLOR_INVISIBLE 0xFFFFFF00
//onplayerspawn
if(IsPlayerAdmin) {
SetPlayerColor(playerid,COLOR_INVISIBLE);
}
else {
SetPlayerColor(playerid,YOURCOLOURFORADMINS);
}