16.04.2017, 15:50
PHP код:
new g_Classid[MAX_PLAYERS] = {-1, ...};
public OnPlayerRequestClass(playerid, classid) {
g_Classid[playerid] = classid;
return true;
public OnPlayerRequestSpawn(playerid) {
if((g_Classid[playerid] == 28 || g_Classid[playerid] == 29) && pInfo[playerid][VIP] < 1) {
ShowClassTextdraw(playerid, red, "Premium Accounts","GAZA UTES");
return;
}
}
return true;