need help - 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)
+--- Thread: need help (
/showthread.php?tid=519466)
need help -
SkyLineGT - 14.06.2014
Hello, first of all i am total newbie okay xd,
cmd:bandana
{
if(PlayerInfo[playerid][pGang] == 1)
{
SetPlayerColor(getbandana? from bandana.cfg)
}
else if(PlayerInfo[playerid][pGang] == 1 && GangHasnoBandana?)
{
SendClientMessage(playerid, COLOR_GREY, "Your Gang Doesnt have a Bandana.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not in a gang/familiy.");
}
}
cmd
etgangbandana
if(PlayerInfo[playerid][pAdmin] >= 2 && PlayerInfo[playerid][pGangMod] > 1 || PlayerInfo[playerid][pAdmin] >= 4)
new family, bandana(undefined)
i dont understand any further, if you need other details from the script i give it ofcourse