SA-MP Forums Archive
I 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: I Need Help (/showthread.php?tid=595115)



I Need Help - DamnPerson - 28.11.2015

How To Make Clans/Gangs With Commands I Need Some Help Please If Some One Is Best Scripter I Need To Teach Me Please I Am Scripting Basics Because.


Re: I Need Help - MeCom - 28.11.2015

combine these two you get a good group system

https://sampforum.blast.hk/showthread.php?tid=274514
https://sampforum.blast.hk/showthread.php?tid=548348


Re: I Need Help - DamnPerson - 28.11.2015

I Said I Need Clan With cmds


Re: I Need Help - jlalt - 28.11.2015

learn how to script then you will know how to make that here very simple example:

PHP код:
enum dpinfo
{
  
DPLevel,
};
new 
PlayerInfo[MAX_PLAYERS][dpinfo];
CMD:dplevel(playerid,params[]) {
         if(
isnull(params)) return 0;
         new 
rankrank strval(params);
         
PlayerInfo[playerid][DPLevel] = rank;

as you made your clan / gang rank do more feature / commands like:
PHP код:
CMD:dpweaps(playerid,params[]) {
                 if(
PlayerInfo[playerid][DPLevel] >= 1) {
                    
GivePlayerWeapon(playerid389999);
                  } else return 
SendClientMessage(playerid,-1,"You need to DP member rank 1 to use this");

and make your own data base load / save level etc etc .... easy ain't it?


Re: I Need Help - DamnPerson - 28.11.2015

I told you I am Newbie Man.