SA-MP Forums Archive
Making admin 3d label and saving stats - 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: Making admin 3d label and saving stats (/showthread.php?tid=147415)



Making admin 3d label and saving stats - rellyboy105 - 12.05.2010

I want to have a label over the admins name and the level they are on. I also want others to beable to see it

I was wondering if someone could give me filterscript for this , I am using the grandlarc gamemode and the ladmin filterscript, also which one would i put the code in.

Thanks For anyone who helps (kinda new to this)

also i want the stats to show up under the tab thingy, it shows up in /stats. i want to to update on there too


Re: Making admin 3d label and saving stats - iJumbo - 12.05.2010

up of gamemode under #include <a_samp>
Code:
new Text3D:label2[MAX_PLAYERS];
under on player disconnect
Code:
Delete3DTextLabel(label2[playerid]);
Code:
	if(strcmp(cmdtext, "/admin_on", true) == 0) {
 		if(IsPlayerAdmin(playerid))
  	label2[playerid] = Create3DTextLabel(">>>ADMIN<<<",0xEB000FFF,30.0,40.0,50.0,40.0,0);
  	 	Attach3DTextLabelToPlayer(label2[playerid], playerid, 0.0, 0.0, 0.7);
  	return 1;
 	}
	if(strcmp(cmdtext, "/admin_off", true) == 0) {
 		if(IsPlayerAdmin(playerid))
    Delete3DTextLabel(label2[playerid]);
  	return 1;
 	}
this add up of a name >>>ADMIN<<<


Re: Making admin 3d label and saving stats - CodeExtreme - 03.06.2011

Good Jumbo
I am Omar Samp