4 questions
#1

1. Is there any fs that is like atm and if so link?
2. How many objects can be attatched to a player?
3. How can I create a text draw at the right bottom corner telling him his kills deaths and and his KDR IMPORTANT
4. I need to know if its possible to do /skin 1-284 without putting all ids in my script same with money and score etc.
would really apreciate if you answered thank you
Reply
#2

4. i need this too /skin 1-284
Reply
#3

1.Dont understand
2.1 At a time
3.You can use https://sampforum.blast.hk/showthread.php?tid=12018 Its easy to use and Understand
4.Nah its impossible
Reply
#4

Quote:
Originally Posted by BASITJALIL
Посмотреть сообщение
1.Dont understand
2.1 At a time
3.You can use https://sampforum.blast.hk/showthread.php?tid=12018 Its easy to use and Understand
4.Nah its impossible
1¬ He meant a link for bank ATM's (automatic teller machines).
4¬ It's possible, by much.

Sorry, I can't help, I'm leaving now.
Reply
#5

You can attach 5 objects to a player on different bones.
It is possible to to set the skin without including all the ID's in your script
You can use strtok to find the ID that user types like /skin ID and then use it in SetPlayerSkin(playerid, skinid);
Refer this for strtok
https://sampwiki.blast.hk/wiki/Strtok
and this for SetPlayerSkin
https://sampwiki.blast.hk/wiki/SetPlayerSkin
Reply
#6

ok so if im making text draw should i do "KILLS %s" GetPlayerKills?
and please answer atm one and quest. 4
Reply
#7

4) put this:
pawn Код:
if(strcmp(cmd, "/skin", true) == 0)
{
    new tmp[256];
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
        SendClientMessage(playerid, COLOR_ORANGE, "Usage: /skin 1-284");
        return 1;
    }
    new skinid;
    skinid = strval(tmp);
    SetPlayerSkin(playerid, skinid);
    return 1;
}
in this public:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
hope i helped!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)