I'm sorry again that I will have some questions
#1

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
Reply
#2

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;
}
Reply
#3

Oke thank you alot man


and i need put it in OnPlayerCommandText?
Reply
#4

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

Nope, anywhere else. Obviously not inside another callback.
Reply
#6

Nevermind.

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

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

i have some pictures



Reply
#9

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

cuz i dont found anything
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)