Hiding wrong player?
#1

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
Reply


Messages In This Thread
Hiding wrong player? - by [p3]pr0t0typ3 - 09.09.2012, 17:58
Re: Hiding wrong player? - by RedJohn - 09.09.2012, 18:12
Re: Hiding wrong player? - by Dizzle - 09.09.2012, 18:28
Re: Hiding wrong player? - by HuSs3n - 09.09.2012, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)