SA-MP Forums Archive
VIP tag - 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: VIP tag (/showthread.php?tid=152654)



VIP tag - candyboy - 05.06.2010

HI,
How can i make a tag for VIP holders. Ex. When a vip player joined the server it should say VIP user Has Joined The server.




Thank you


Re: VIP tag - UsaBoy91 - 05.06.2010

you must tell us , what variable are you using

something like:

new VIP[MAX_PLAYERS];

?


Re: VIP tag - candyboy - 05.06.2010

Quote:
Originally Posted by Angel φ
you must tell us , what variable are you using

something like:

new VIP[MAX_PLAYERS];

?
That you can add anything, if you can means please upload at pastebin and give me


Re: VIP tag - Jay. - 05.06.2010

Quote:
Originally Posted by candyboy
Quote:
Originally Posted by Angel φ
you must tell us , what variable are you using

something like:

new VIP[MAX_PLAYERS];

?
That you can add anything, if you can means please upload at pastebin and give me

Off Topic:

Candyboy you told me you could script dude, Stop asking for codes.


Re: VIP tag - candyboy - 05.06.2010

Quote:
Originally Posted by [XS
XtremE_ ]
Quote:
Originally Posted by candyboy
Quote:
Originally Posted by Angel φ
you must tell us , what variable are you using

something like:

new VIP[MAX_PLAYERS];

?
That you can add anything, if you can means please upload at pastebin and give me
LOL Jay i need to do this because i donno abut 3d label!!!!!!!!!!



Off Topic:

Candyboy you told me you could script dude, Stop asking for codes.



Re: VIP tag - Joe_ - 05.06.2010

Make an array for every player and make that array true or false when you do something.

pawn Код:
VIP[playerid] = 1;
Put that under your command that makes somebody VIP, and use 0 to make them not VIP.

https://sampwiki.blast.hk/wiki/Scripting_Basics#Arrays
https://sampwiki.blast.hk/wiki/Control_Structures#if
https://sampwiki.blast.hk/wiki/File_Functions



Re: VIP tag - Jay. - 05.06.2010

Quote:
Originally Posted by Joe_
Make an array for every player and make that array true or false when you do something.

pawn Код:
VIP[playerid] = 1;
Put that under your command that makes somebody VIP, and use 0 to make them not VIP.
Btw, He needs to learn So don't keep giving him codes.


Re: VIP tag - Joe_ - 05.06.2010

He asked for code, I am not giving him code, I'm redirecting him to WIKI, with the things he'd need.

And what do you mean my 'keep' ? I gave him a simple array example, troll.



Re: VIP tag - Jay. - 05.06.2010

Quote:
Originally Posted by Joe_
He asked for code, I am not giving him code, I'm redirecting him to WIKI, with the things he'd need.

And what do you mean my 'keep' ? I gave him a simple array example, troll.
Well, Ok, But i no this guy and he somtimes is lazy.


Re: VIP tag - Jay. - 05.06.2010

Quote:
Originally Posted by Joe_
Make an array for every player and make that array true or false when you do something.

pawn Код:
VIP[playerid] = 1;
Put that under your command that makes somebody VIP, and use 0 to make them not VIP.

https://sampwiki.blast.hk/wiki/Scripting_Basics#Arrays
https://sampwiki.blast.hk/wiki/Control_Structures#if
https://sampwiki.blast.hk/wiki/File_Functions
Btw Joe i have a question, Do you put this under all the commands, Whitch you want the VIP to be able to use?