Trunk system help.... (help atleast with /giverespect command) and trunk system.
#1

Hello every one how to make trunk system? (Just show example)

And how to make /giverespect command?

Please help....
Reply
#2

please help really needed.. Please help... Someone.
Reply
#3

you should be more specific, but take this command I have, play arround with it
pawn Код:
if(strcmp("/givepermisson", cmd, true) == 0)
    {
        if(PlayerInfo[playerid][pAdminLevel] == 3)
        {
            tmp = strtok(cmdtext,idx);
            if(!strlen(tmp))
            {
                return SendClientMessage(playerid,COLOR_LIGHTRED,"USAGE: /givepermisson [id]");
            }
            new id = strval(tmp);
            new pid = playerid;
            if(!IsPlayerConnected(id))
            {
                return SendClientMessage(playerid,COLOR_GRAY,"AdmCmd: This player is not online!");
            }
            if (PlayerInfo[id][pPermissons] < 200)
            {
                new amsg[100];
                new victimid[MAX_PLAYERS];
                GetPlayerName(id, victimid, sizeof(victimid));
                format(amsg,sizeof(amsg),"AdmCmd: You have given %s one permisson!",victimid);
                SendClientMessage(pid,COLOR_LIGHTBLUE,amsg);
                PlayerInfo[id][pPermissons]++;
                PlayHintSoundAtPos(playerid);
                return 1;
            }
            else SendClientMessage(pid,COLOR_GRAY,"AdmCmd: This player already haves too many permissons (over 200)!");
        }
        else
        {
            SendClientMessage(playerid,COLOR_GRAY,"You don't have authorization.");
            return 1;
        }
    }
but I can't help you with trunk system > too complex.
Reply
#4

It's all okay you helped me a lot.... Thanks man really thanks... I wish you have a nice evening
Reply
#5

http://forum.sa-mp.com/showthread.ph...ighlight=trunk
Reply
#6

Thanks mate.... I can give a kiss right now You are god... Because f.... ****** didnt give me a answer.... Thanks mate again.... admantis and you too you helped me a lot ... all things ended well :P :*
Reply
#7

No problem bro, i rather take a hug then a kiss for alot of reasons xD. Next time, go to the filterscript section, then click search this forum, narrows down your search by alot
Reply
#8

no problem, have fun
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)