public OnPlayerSpawn(playerid) { new aname[MAX_PLAYER_NAME]; GetPlayerName(playerid, aname, MAX_PLAYER_NAME); format(file, sizeof(file), PASTA_CONTAS, aname); TextDrawShowForPlayer(playerid, Relogio); TextDrawShowForPlayer(playerid, tc); SetPlayerInterior(playerid,0); PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0); // GangZoneShowForPlayer(playerid,favela,0xFF0000AA); GangZoneShowForPlayer(playerid, areadmlv, 0xFF000096); GangZoneShowForPlayer(playerid, AreaPesca, 0x00FFFFAA); GangZoneShowForPlayer(playerid, Acaca, 0x9D4F00AA); GangZoneShowForPlayer(playerid, AreaCar, 0x000000AA); GangZoneShowForPlayer(playerid, AreaDes, 0x000000AA); GangZoneShowForPlayer(playerid, AreaDrogas, 0xFF8040AA); gmod[playerid] = 0; noevento[playerid] = 0; nogame[playerid] = 0; Logarprof(playerid); autoescola[playerid] = 0; prefls[playerid] = 0; prefsf[playerid] = 0; preflv[playerid] = 0; nobarls[playerid] = 0; nobarsf[playerid] = 0; nobarlv[playerid] = 0; nobarfc[playerid] = 0; nautlls[playerid] = 0; algemado[playerid] = 0; sequestro[playerid] = 0; vercmds[playerid]=0; dini_IntSet(file, "convitent", 0); dini_IntSet(file, "Entrevista", 0); dini_IntSet(file, "MN", 0); //fim if(NaFaculdade[playerid] == 1){ new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid,X,Y,Z); PlayerPlaySound(playerid,1076,X,Y,Z); SetPlayerHealth(playerid,999999); SetPlayerPos(playerid,1494.4003,1304.2990,1093.289 1); SetPlayerInterior(playerid, 3); TogglePlayerControllable(playerid, 1); } if(dini_Int(file, "Procurado") == 1){ Procurados[playerid]= 1; } if(dini_Int(file, "Procurado") == 0){ Procurados[playerid]= 0; } if(dini_Int(file, "Lutas") == 1){ SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW); } if(dini_Int(file, "Lutas") == 2){ SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING); } if(dini_Int(file, "Lutas") == 3){ SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK); } if(dini_Int(file, "Lutas") == 4){ SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD); } if(dini_Int(file, "Lutas") == 5){ SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU); } if(dini_Int(file, "Lutas") == 6){ SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL); } if(dini_Int(file,"novato") == 1){ new string22[256]; new ip2[128]; GetPlayerIp(playerid,ip2,12 ![]() format(string22, sizeof(string22), "- Nick: %s | ID: %d | IP: %s", aname,playerid,ip2); SendClientMessage(playerid, 0x0080FFAA, string22); |
public OnPlayerSpawn(playerid)
{
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
TextDrawShowForPlayer(playerid, Relogio);
TextDrawShowForPlayer(playerid, tc);
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0); //
GangZoneShowForPlayer(playerid,favela,0xFF0000AA);
GangZoneShowForPlayer(playerid, areadmlv, 0xFF000096);
GangZoneShowForPlayer(playerid, AreaPesca, 0x00FFFFAA);
GangZoneShowForPlayer(playerid, Acaca, 0x9D4F00AA);
GangZoneShowForPlayer(playerid, AreaCar, 0x000000AA);
GangZoneShowForPlayer(playerid, AreaDes, 0x000000AA);
GangZoneShowForPlayer(playerid, AreaDrogas, 0xFF8040AA);
gmod[playerid] = 0;
noevento[playerid] = 0;
nogame[playerid] = 0;
Logarprof(playerid);
autoescola[playerid] = 0;
prefls[playerid] = 0;
prefsf[playerid] = 0;
preflv[playerid] = 0;
nobarls[playerid] = 0;
nobarsf[playerid] = 0;
nobarlv[playerid] = 0;
nobarfc[playerid] = 0;
nautlls[playerid] = 0;
algemado[playerid] = 0;
sequestro[playerid] = 0;
vercmds[playerid]=0;
dini_IntSet(file, "convitent", 0);
dini_IntSet(file, "Entrevista", 0);
dini_IntSet(file, "MN", 0);
//fim
if(NaFaculdade[playerid] == 1){
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
PlayerPlaySound(playerid,1076,X,Y,Z);
SetPlayerHealth(playerid,999999);
SetPlayerPos(playerid,1494.4003,1304.2990,1093.289 1);
SetPlayerInterior(playerid, 3);
TogglePlayerControllable(playerid, 1);
}
if(dini_Int(file, "Procurado") == 1){
Procurados[playerid]= 1;
}
if(dini_Int(file, "Procurado") == 0){
Procurados[playerid]= 0;
}
if(dini_Int(file, "Lutas") == 1){
SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW);
}
if(dini_Int(file, "Lutas") == 2){
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
}
if(dini_Int(file, "Lutas") == 3){
SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
}
if(dini_Int(file, "Lutas") == 4){
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD);
}
if(dini_Int(file, "Lutas") == 5){
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU);
}
if(dini_Int(file, "Lutas") == 6){
SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL);
}
if(dini_Int(file,"novato") == 1){
new string22[256];
new ip2[128];
GetPlayerIp(playerid,ip2,12;
format(string22, sizeof(string22), "- Nick: %s | ID: %d | IP: %s", aname,playerid,ip2);
SendClientMessage(playerid, 0x0080FFAA, string22);
#define PASTA_CONTAS