SA-MP Forums Archive
HElp - 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)
+--- Thread: HElp (/showthread.php?tid=506595)



HElp - VanSiera - 13.04.2014

can someone give me command /adminlogin when someone admin joined to the server said him bla bla /adminlogin bla bla.. :P
Like this : &


sorry for my bad english :P


Re: HElp - VanSiera - 13.04.2014

no one?


Re: HElp - VanSiera - 13.04.2014

Bumb


Re: HElp - Dokins - 13.04.2014

Although this isn't a script request thread, I'm not one to complain. But most are, so make sure you post in appropriate section next time.

pawn Код:
#define COL_PINK "{FF00EA}"  //Put this at the top of your script. - COLOUR FORMATTING.
    #define COL_RED  "{FF0000}"    //SAME WITH THIS ONE.
    new string[64];
    format(string, sizeof(string), "Use "COL_PINK"'/adminlogin' to login as an "COL_RED"Admin");
    if(AdminLevel[playerid] > 0) SendClientMessage(playerid, COLOUR_WHITE, string);
    //Replace AdminLevel[playerid] with the variable you use.



Re: HElp - VanSiera - 13.04.2014

C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44492) : error 021: symbol already defined: "format"
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44493) : error 010: invalid function or declaration


Re: HElp - VanSiera - 13.04.2014

i pmed u


Re: HElp - VanSiera - 13.04.2014

bumb


Re: HElp - SammyVA - 13.04.2014

Quote:
Originally Posted by VanSiera
Посмотреть сообщение
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44492) : error 021: symbol already defined: "format"
C:\Documents and Settings\s\Desktop\1\gamemodes\tttt.pwn(44493) : error 010: invalid function or declaration
Post the lines that give you error please.


Re: HElp - VanSiera - 13.04.2014

#define COL_PINK "{FF00EA}"
#define COL_RED "{FF0000}"
new string[64];
format(string, sizeof(string), "Use "COL_PINK"'/adminlogin' to login as an "COL_RED"Admin");
if(AdminLevel[playerid] > 0) SendClientMessage(playerid, COLOUR_WHITE, string);