SetPlayerMarkerForPlayer wont work - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SetPlayerMarkerForPlayer wont work (
/showthread.php?tid=141281)
SetPlayerMarkerForPlayer wont work -
Headshot1108 - 12.04.2010
Why in onplayerspawn is my skin not invisible, and if i type /invisible he is?!
pawn Код:
public OnPlayerSpawn(playerid)
{
if(ClassSet[playerid] == 2)
{
foreach(Player,i)
{
SetPlayerMarkerForPlayer(i,playerid, ( GetPlayerColor( playerid ) & 0xFFFFFF00 ) );
}
}
}
pawn Код:
if(!strcmp(cmd,"/invisible",true))
{
if(ClassSet[playerid] == 2)
{
foreach(Player,i)
{
SetPlayerMarkerForPlayer(i,playerid, ( GetPlayerColor( playerid ) & 0xFFFFFF00 ) );
}
}
return 1;
}