Trunk system help.... (help atleast with /giverespect command) and trunk system. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Trunk system help.... (help atleast with /giverespect command) and trunk system. (
/showthread.php?tid=203751)
Trunk system help.... (help atleast with /giverespect command) and trunk system. -
trapped1 - 27.12.2010
Hello every one how to make trunk system? (Just show example)
And how to make /giverespect command?
Please help....
Re: Trunk system help.... (help atleast with /giverespect command) and trunk system. -
trapped1 - 27.12.2010
please help really needed.. Please help... Someone.
Re: Trunk system help.... (help atleast with /giverespect command) and trunk system. -
admantis - 27.12.2010
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.
Re: Trunk system help.... (help atleast with /giverespect command) and trunk system. -
trapped1 - 28.12.2010
It's all okay you helped me a lot.... Thanks man really thanks... I wish you have a nice evening
Re: Trunk system help.... (help atleast with /giverespect command) and trunk system. -
Anthonyx3' - 28.12.2010
http://forum.sa-mp.com/showthread.ph...ighlight=trunk
Re: Trunk system help.... (help atleast with /giverespect command) and trunk system. -
trapped1 - 28.12.2010
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
:*
Re: Trunk system help.... (help atleast with /giverespect command) and trunk system. -
Anthonyx3' - 28.12.2010
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
Re: Trunk system help.... (help atleast with /giverespect command) and trunk system. -
admantis - 28.12.2010
no problem, have fun