INI HELP
#1

Hi guys. I want to create something like this. I created Ini file for VIP players, and i want to create code for like this.
Player[i][pVIPT] --;
I want to create code which all of vip players - VIPTIME HELP ME PLEASE
Reply
#2

BUMP
Reply
#3

Ok, let me make you a refilling command for VIPs

PHP код:
CMD:refill(playeridparams[]){
       if(
player[playerid][pVIPT] > 0){
             
SetPlayerHealth(playerid100);
             return 
1;
       }
       return 
1;

this is just a simple example, just follow the same method,
if you want some more advanced commands, download my filterscript, and learn from its content some tricks, check it, it's on my signature
Reply
#4

Yeah i know this but its not in accounts ini file, its in another ini file understand?
Reply
#5

What do you mean? Which ini file?
Reply
#6

Dude, I have maded another ini file, which is for only viptimes and i have onesecond timer and i want to -viptimes understand?
Reply
#7

i have folder accounds and i have folder VIP, and i want to make code which -viptime in every second, i arleday maded onesecondtimer i only want code
Reply
#8

BUMP
Reply
#9

BUMP
Reply
#10

Use a timer

PHP код:
forward public Vip_Timer();
public 
Vip_Timer()
{
    for(new 
iGetPlayerPoolSize(); <= li++)
    {
        if(
IsPlayerConnected(i))
        {
            
Player[i][pVIPT] -= 1;
            if(
Player[i][pVIPT] == 0) return SendClientMessage(i, -1"VIP status removed");
        }
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)