12.01.2018, 23:47
PHP код:
public OnPlayerSpawn(playerid)
{
MostrarObjetos(playerid);//Mostra os objetos do servidor
SpawnCivil(playerid);
ChinaCarregar(playerid);//o erro so da quando eu adciono isso
if(DOF2_IsSet("seg",segUP[playerid])){
}
if(DOF2_IsSet("min",minUP[playerid])){
}
if(pAdmin[playerid] == 1 ) {
admin[playerid] = 1;
}
if(pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5) {
admin[playerid] = 1;
DOF2_SetInt(file2, "aAdmin", 1);
}
TirarLogin(playerid);
return 1;
}