Need Help /setadmin command
#1

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
Reply
#2

Please explain more...
Reply
#3

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.
Reply
#4

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.
Reply
#5

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)