18.07.2015, 15:12
Hello, i'm new to the function Attach3DTextLabeltoVehicle and i want to know how to go about making this command work, for my police system i am scripting i have a check to see if the player IsACop and i need to make a command that goes like
/callsign [Callsign] so for example if i was to go on duty as Romeo-6 i can do /callsign R6 and it creates the 3d text label on the right side of the bumper, i've never done this type of 3dtext label before and i'd like to know how to go abouts, i'm going to rep anyone who attempts to help.
(EX:
)
/callsign [Callsign] so for example if i was to go on duty as Romeo-6 i can do /callsign R6 and it creates the 3d text label on the right side of the bumper, i've never done this type of 3dtext label before and i'd like to know how to go abouts, i'm going to rep anyone who attempts to help.
(EX:

Код:
IsACop(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==1 || member==2 || member== 3 || member==7 || member==11 || member==13 || member==18 || member==19) { return 1; } else if(leader==1 || leader==2 || leader == 3 || leader==7 || leader==11 || leader==13 || leader==18 || leader==19) { return 1; } } return 0; }