13.08.2010, 15:34
Hey all, just wondering if anyone knew how to hide blips, but only make them appear when someone shoots their gun?
Thanks.
Thanks.
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_FIRE)
{
SetPlayerMarkerForPlayer("OTHERPLAYERIDGOESHERE :>",playerid,0xFF0000FF );
}
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_FIRE)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00);
}
}
return 1;
}