09.09.2012, 17:58
Ok so i got this from the samp wiki and just added a SCM.
CMD:rco_hide(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid, COLOR_GREEN, "[PR0-RCON]Hiding you from radar...");
SetPlayerMarkerForPlayer(playerid,1,0xFFFFFF00); //What i got from wiki
}
else
{
SendClientMessage(playerid, -1, "SERVER:Unknown command");
}
return 1;
}
It does work but it doesnt hide the admin who uses it,it hides a random player,any help why this would be happening
CMD:rco_hide(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid, COLOR_GREEN, "[PR0-RCON]Hiding you from radar...");
SetPlayerMarkerForPlayer(playerid,1,0xFFFFFF00); //What i got from wiki
}
else
{
SendClientMessage(playerid, -1, "SERVER:Unknown command");
}
return 1;
}
It does work but it doesnt hide the admin who uses it,it hides a random player,any help why this would be happening
