SA-MP Forums Archive
I'm sorry again that I will have some questions - 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: I'm sorry again that I will have some questions (/showthread.php?tid=337501)



I'm sorry again that I will have some questions - mickos - 26.04.2012

I have 3 questions



and Question 1 is:

How do I create / skin command so that players can change their skin
Just all the skins of course: P

and question 2 is:
How do I create a command that players can change their nickname color? as an example: / red color and their nickname then also become red

and question 3 is:

How do I create an account system
with

autologin
skin save
nickname color save
save money
score save
Death's save

They were asking me, thanks very much
and sorry if I bothering you again
I do not mean this as forum spam


Re: I'm sorry again that I will have some questions - ]Rafaellos[ - 26.04.2012

Question 3
pawn Код:
#define COLOR_GREEN 0x33AA33AA //all colour defines https://sampforum.blast.hk/showthread.php?tid=157789


CMD:green(playerid, params[])
{
    SetPlayerColor(playerid, COLOR_GREEN);
    return 1;
}
Question 2:

pawn Код:
CMD:cskin(playerid,params[])
{
    new id;
    if( sscanf( params, "d", id) ) return SendClientMessage(playerid, COLOR_GREEN, "[USAGE]: /cskin [skin id]");
    SetPlayerSkin(playerid, id);
    return 1;
}



Re: I'm sorry again that I will have some questions - mickos - 26.04.2012

Oke thank you alot man


and i need put it in OnPlayerCommandText?


Re: I'm sorry again that I will have some questions - ]Rafaellos[ - 26.04.2012

No, but you must have zcmd.inc and sscanf2 include.


Re: I'm sorry again that I will have some questions - Elysian` - 26.04.2012

Nope, anywhere else. Obviously not inside another callback.


Re: I'm sorry again that I will have some questions - ReneG - 26.04.2012

Nevermind.

To save stats, you need to learn how to use a saving system.


Re: I'm sorry again that I will have some questions - mickos - 26.04.2012

hmm when I use /skin
i get SERVER: Unknown command


Re: I'm sorry again that I will have some questions - mickos - 26.04.2012

i have some pictures






Re: I'm sorry again that I will have some questions - ikkentim - 26.04.2012

Also i have a question; why don't you use ****** ?


Re: I'm sorry again that I will have some questions - mickos - 26.04.2012

cuz i dont found anything