userfile halp
#1

Hi there. I want to have a command, like.. /makemember [ID] [phrase], for example, the 'phrase' is '1', wich would be the LSPD, then the selected ID get's skin ID 180, and the text in his userfile, preferably 'faction' get's changed to '1', and underneath it, 'factionrank "input", and then, the rcon admins are also able to do /setrank ID "name", self-explanatory; could someone explain how to do this or give me an example? Thanks.
Reply
#2

Bump, been two days.
Reply
#3

bump.
Reply
#4

well we need more info,
for example what user system you use.
What command system? YCMD,DCMD,ZCMD?
are you gonna use sscanf2 or strok

this should be easy to do
for setting the skin
https://sampwiki.blast.hk/wiki/SetPlayerSkin

the rest will depend on how you want it implemented
Reply
#5

I recommend you read this thread. It should show you most of what you need.
https://sampforum.blast.hk/showthread.php?tid=273088
Reply
#6

Quote:
Originally Posted by JhnzRep
Посмотреть сообщение
I recommend you read this thread. It should show you most of what you need.
https://sampforum.blast.hk/showthread.php?tid=273088
I agree, This is actually the same tut i used to learn this part of samp.
only thing is when it comes to using.

udb_hash- don't use this, you can at first for testing but
Id look at the Whirlpool plugin for password encryption
https://sampforum.blast.hk/showthread.php?tid=65290
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)