03.11.2016, 05:36
(
Последний раз редактировалось Jelly23; 04.05.2017 в 18:33.
)
SetPlayerObjectiveMarker
So, after looking into few pictures of ''10 years of Samp'', i found this: sa-mp.com/stuff/samphistory/sml_samp4.jpg. As i know those objective markers on people's heads were removed, so i thought ''Why not try to bring them back?" and i kinda... did.
Preview:
You can use any color you wish.
Functions:
PHP код:
SetPlayerObjectiveMarker(playerid,color,time=0)
/*
Example:
SetPlayerObjectiveMarker(playerid,0xAA3333AA,1000); //The marker will dissapear in one second. Leave it as 0 if you want it to be permanent.
*/
PHP код:
DestroyObjectiveMarker(playerid)
/*
Example:
DestroyObjectiveMarker(playerid); //Will destroy/remove somebody's marker.
*/
PHP код:
IsValidObjectiveMarker(playerid)
/*
Example:
if(IsValidObjectiveMarker(playerid)) //Will return 0 if the player has no marker, otherwise 1.
*/
Download:
Pastebin