SA-MP Forums Archive
Need Help /setadmin command - 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 /setadmin command (/showthread.php?tid=532242)



Help Will be Appreciated [+REP] - Iloveimpulse - 17.08.2014

Here's My Enum Data i need to add Cash and Timeplayed in it also a /setadmin command + /ban command can anyone help?

PHP код:
enum pInfo
    
{
        
pPass,
        
pCash,
        
pAdmin,
        
pKills,
        
pDeaths,
        
pScore
    
}
    new 
PlayerInfo[MAX_PLAYERS][pInfo]; 
Also a /stats command


Re: Need Help /setadmin command - AzaMx - 17.08.2014

Please explain more...


Re: Need Help /setadmin command - MicroD - 17.08.2014

To sum it up, he wants from us to create commands from him. Instead of asking someone to create you a command you could try to make it by yourself, there's many tutorials on this forum.


Re: Need Help /setadmin command - Tadas - 17.08.2014

You can use this line
pawn Код:
PlayerInfo[playerid][pAdmin] = 1;
No one will script you a command for free. This section help people, not write them a code...


Sorry for my bad English.


Re: Need Help /setadmin command - Guest4390857394857 - 17.08.2014

What is the prefix you use to use ENUMS. like PlayerInfo, Pinfo, yourrandominfo...etc?


Re: Need Help /setadmin command - JacobEdwards - 17.08.2014

There are many tutorials on the forum. You should probably use the search feature.


Re: Need Help /setadmin command - Iloveimpulse - 17.08.2014

PHP код:
enum pInfo
    
{
        
pPass,
        
pCash,
        
pAdmin,
        
pKills,
        
pDeaths,
        
pScore
    
}
    new 
PlayerInfo[MAX_PLAYERS][pInfo];