09.03.2015, 21:35
Todos os players entra com Vip no Serve ;-;
Код:
OnPlayerConnect
Код:
pVip[playerid][0] = false;
Код:
new pFile[64], pNome[21]; GetPlayerName(playerid, pNome, 20); format(pFile, 64, Arquivo, pNome); if(DOF2_GetInt(Arquivo, "pVip")) { if(gettime() >= DOF2_GetInt(Arquivo, "pTime")) { DOF2_SetInt(Arquivo, "pVip", 0); DOF2_SetInt(Arquivo, "pTime", 0); DOF2_SaveFile(); SendClientMessage(playerid, 0xFF0000FF, "[INFO] Seu VIP expirou!!"); } pVip[playerid][0] = DOF2_GetInt(Arquivo, "pTime"); pVip[playerid][1] = DOF2_GetInt(Arquivo, "pVip"); }