10.03.2012, 02:27
Tipo eu queria sabe, como eu tiro o ganho do level do servidor Brasil play City v3.0 pois eu estou estudando, й queria sabe como tira os level ganho quando entra no servidor.
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid)){
if(!strfind(PlayerName(playerid),ZOMBIE_NAME,true)){
SetupZombie(playerid);
return 1;
}
}
if(ZombieKill[playerid] != -1){
Zombies[ZombieKill[playerid]][ZombieKilling] = -1;
ZombieKill[playerid] = -1;
//return 1;
}
TextDrawShowForPlayer(playerid, Textdraw2[playerid]);
TextDrawHideForPlayer(playerid, statu[gSpectateID[playerid]]);
TextDrawHideForPlayer(playerid, velo[playerid]);
if(pAdmin[playerid] > 1){
//SetPlayerAttachedObject( playerid, 0, 18693, 1, 0.800000, 0.100000, 0.000000, 84.948677, 100.000000, 98.326057, 1.000000, 1.000000, 1.000000 );
SetPlayerAttachedObject( playerid, 1, 18749, 1, 0.800000, 0.000000, 0.000000, 156.986312, 100.000000, 20.000000, 1.332795, 2.000000, 1.486337 ); // SAMPLogoSmall - esseaqui
}
if(PlayerInfo[playerid][Logged] == 0){
ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_INPUT, "CONTA", STRX, "Logar", "Sair");
}
emcasa[playerid] = 0;
DisablePlayerRaceCheckpoint(playerid);
Trocar[playerid]=0;
autoescola[playerid] = 0;
Trocara[playerid]=0;
autoaerea[playerid] = 0;
autonautica[playerid] = 0;
Trocarn[playerid] = 0;
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
SetSpawnInfo(playerid, 1, dini_Int(file, "Skin"), dini_Int(file, "CasaX"), dini_Int(file, "CasaY"), dini_Int(file, "CasaZ"), 354.1657, 0, 0, 0, 0, 0, 0);
TextDrawHideForPlayer(playerid, topblack);
TextDrawHideForPlayer(playerid, bottomblack);
TextDrawHideForPlayer(playerid, drogas1);
TextDrawHideForPlayer(playerid, drogas2);
//TextDrawShowForPlayer(playerid, gText2[playerid]);
SetPlayerInterior(playerid,0);
ClosedSelection[playerid]=0;
SkinClass[playerid][SpawnAngle] = 0.0;
SkinClass[playerid][SpawnDance] = true;
KillTimer( SkinClass[playerid][SpawnTimer] );
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0);
SetCameraBehindPlayer(playerid);
PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0); //
GangZoneShowForPlayer(playerid,favela,0xFF0000AA);
GangZoneShowForPlayer(playerid,areadmlv, 0xFF000096);
GangZoneShowForPlayer(playerid,carga, 0x00FFFFAA);
GangZoneShowForPlayer(playerid,descarga, 0x80FFFFAA);
GangZoneShowForPlayer(playerid, AreaDrogas, 0xFF8040AA);
//bottttttttttttt=============================
//if(IsPlayerNPC(playerid))
//{
//new npcname[MAX_PLAYER_NAME];
//GetPlayerName(playerid, npcname, sizeof(npcname));
//if(!strcmp(npcname,"Samanta",true)) {
//SetPlayerColor(playerid,0x800080AA);
//SetPlayerSkin(playerid,11);
//GivePlayerWeapon(playerid,24,99999);
//}
//if(!strcmp(npcname,"Pimentel",true)) {
//SetPlayerColor(playerid,0x008000AA);
//SetPlayerSkin(playerid,113);
//GivePlayerWeapon(playerid,24,99999);
//}
///if(!strcmp(npcname,"Ronildo",true)) {
//SetPlayerColor(playerid,0x00FF00AA);
//SetPlayerSkin(playerid,70);
//}
//return 1;
//}
//variavel
gmod[playerid] = 0;
noevento[playerid] = 0;
GPS_Spawned[playerid] = 1;
nogame[playerid] = 0;
Logarprof(playerid);
autoescola[playerid] = 0;
autoaerea[playerid] = 0;
autonautica[playerid] = 0;
Trocarn[playerid] = 0;
Trocara[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;
verpms[playerid]=0;
dini_IntSet(file, "convitent", 0);
dini_IntSet(file, "Entrevista", 0);
dini_IntSet(file, "MN", 0);
//fim
if(pAdmin[playerid] == 0){
admin[playerid] = 0;
dini_IntSet(file, "aAdmin", 0);
}
if(pAdmin[playerid] == 1 ){
admin[playerid] = 1;
}
if(pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
admin[playerid] = 1;
dini_IntSet(file, "aAdmin", 1);
}
if(dini_Int(file, "VIP") == 1){
vip[playerid] = 1;
SetPlayerMapIcon(playerid, 1, 1568.0254,-1896.3612,13.5605, 23, 0); //Bar Vip LS
//SetPlayerMapIcon(playerid, 2, -2155.2612,645.3902,52.3672, 23, 0); //Bar Vip SF
//SetPlayerMapIcon(playerid, 3, 2489.9238,2063.7310,10.8203, 23, 0); //Bar VIP LV
SendClientMessage(playerid, verdel, "* Vocк й um jogador VIP.");
}
if(dini_Int(file, "VIP") == 0){
vip[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 ip2[128];
GetPlayerIp(playerid,ip2,128);
dini_IntSet(file, "Skin", 0);
SetTimerEx("tuto2", 5000, 0, "d", playerid);
//dini_IntSet(file,"novato",0);
}
if(dini_Int(file, "Preso") >= 1){
SetPlayerPos(playerid, 263.8820,77.4002,1001.0391);
SetPlayerInterior(playerid, 6);
SetPlayerHealth(playerid,99999);
ResetPlayerWeapons(playerid);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, msgdm, "* Vocк estб preso. Para ser solto, contrate um advogado.");
dini_IntSet(file2, "ofmaconha", 0);
dini_IntSet(file2, "ofcocaina", 0);
dini_IntSet(file2, "ofcrack", 0);
dini_IntSet(file, "usoudroga", 0);
dini_IntSet(file, "tmaconha", 0);
dini_IntSet(file, "tcrack", 0);
dini_IntSet(file, "tcocaina", 0);
dini_IntSet(file, "Maconha", 0);
dini_IntSet(file, "Crack", 0);
dini_IntSet(file, "Cocaina", 0);
}
if(dini_Int(file,"CapaceteOn") == 1){
switch(GetPlayerSkin(playerid))
{
#define SPAO{%0,%1,%2,%3,%4,%5} SetPlayerAttachedObject(playerid, 3, 18645, 2, (%0), (%1), (%2), (%3), (%4), (%5));
case 0, 65, 74, 149, 208, 273: SPAO{0.070000, 0.000000, 0.000000, 88.000000, 75.000000, 0.000000}
case 1..6, 8, 14, 16, 22, 27, 29, 33, 41..49, 82..84, 86, 87, 119, 289: SPAO{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}
case 7, 10: SPAO{0.090000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}
case 9: SPAO{0.059999, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}
case 11..13: SPAO{0.070000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}
case 15: SPAO{0.059999, 0.000000, 0.000000, 88.000000, 82.000000, 0.000000}
case 17..21: SPAO{0.059999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}
case 23..26, 28, 30..32, 34..39, 57, 58, 98, 99, 104..118, 120..131: SPAO{0.079999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}
case 40: SPAO{0.050000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}
case 50, 100..103, 148, 150..189, 222: SPAO{0.070000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}
case 51..54: SPAO{0.100000, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}
case 55, 56, 63, 64, 66..73, 75, 76, 78..81, 133..143, 147, 190..207, 209..219, 221, 247..272, 274..288, 290..293: SPAO{0.070000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}
case 59..62: SPAO{0.079999, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}
case 77: SPAO{0.059999, 0.019999, 0.000000, 87.000000, 82.000000, 0.000000}
case 85, 88, 89: SPAO{0.070000, 0.039999, 0.000000, 88.000000, 82.000000, 0.000000}
case 90..97: SPAO{0.050000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}
case 132: SPAO{0.000000, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}
case 144..146: SPAO{0.090000, 0.000000, 0.000000, 88.000000, 82.000000, 0.000000}
case 220: SPAO{0.029999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}
case 223, 246: SPAO{0.070000, 0.050000, 0.000000, 88.000000, 82.000000, 0.000000}
case 224..245: SPAO{0.070000, 0.029999, 0.000000, 88.000000, 82.000000, 0.000000}
case 294: SPAO{0.070000, 0.019999, 0.000000, 91.000000, 84.000000, 0.000000}
case 295: SPAO{0.050000, 0.019998, 0.000000, 86.000000, 82.000000, 0.000000}
case 296..298: SPAO{0.064999, 0.009999, 0.000000, 88.000000, 82.000000, 0.000000}
case 299: SPAO{0.064998, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000}
}
}
SetSpawnInfo(playerid, 1, dini_Int(file, "Skin"), dini_Int(file, "CasaX"), dini_Int(file, "CasaY"), dini_Int(file, "CasaZ"), 354.1657, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnPlayerConnect(playerid)
{
for(new i=0;i<MAX_PLAYERS;i++){
ofereceu[playerid][i] = 0;
}
if(IsPlayerNPC(playerid)){ SpawnPlayer(playerid); }
else{ AtirandoTimer[playerid] = SetTimerEx("Atirando",250,1,"i",playerid);}
if(IsPlayerNPC(playerid)){ SpawnPlayer(playerid); }
SetPlayerColor(playerid,0xFFFFFFAA);
kick[playerid] = 0;
aradar[playerid] = 0;
blindagem[playerid]=0;
TPedagio[playerid] = 0;
TPedagioL[playerid] = 0;
abordado2[playerid]=0;
tanafavela[playerid] = 0;
format(ucomando[playerid], 45,"Nenhum Comando");
new string32[256];
new Pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, Pname, sizeof(Pname));
format(string32, sizeof(string32), "{00FF00}•••{FFFFFF} %s entrou no server", Pname);
SendClientMessageToAll(0xFFFFFFAA,string32);
format(string32, sizeof(string32), "{00FF00}•••{FFFFFF} %s entrou no server",Pname,playerid);
MsgLog(string32);
//~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•~•------------------
TextDrawShowForPlayer(playerid, mote);
TextDrawShowForPlayer(playerid, NEW);
statu[playerid] = TextDrawCreate(230, 350,"~r~Vida:~w~100 ~b~Colete:~w~0");
//TextDrawLetterSize(statu[playerid], 0, 0);
TextDrawTextSize(statu[playerid], 450, 500);
//TextDrawAlignment(statu[playerid], 0);
TextDrawColor(statu[playerid], -1);
TextDrawUseBox(statu[playerid], 1);
TextDrawSetShadow(statu[playerid], 2);
TextDrawBoxColor(statu[playerid], 170);
TextDrawSetOutline(statu[playerid], 0);
TextDrawBackgroundColor(statu[playerid], 170);
TextDrawFont(statu[playerid], 1);
TextDrawSetProportional(statu[playerid], 1);
TextDrawHideForPlayer(playerid, statu[playerid]);
velo[playerid] = TextDrawCreate(230, 350,"~r~Velocidade:0Km/h");
//TextDrawLetterSize(velo[playerid], 0, 0);
TextDrawTextSize(velo[playerid], 450, 500);
//TextDrawAlignment(velo[playerid], 0);
TextDrawColor(velo[playerid], -1);
TextDrawUseBox(velo[playerid], 1);
TextDrawSetShadow(velo[playerid], 2);
TextDrawBoxColor(velo[playerid], 70);
TextDrawSetOutline(velo[playerid], 0);
TextDrawBackgroundColor(velo[playerid], 170);
TextDrawFont(velo[playerid], 1);
TextDrawSetProportional(velo[playerid], 1);
TextDrawHideForPlayer(playerid, velo[playerid]);
PlayerPlaySound(playerid, 1134, 0, 0, 0);
SetTimerEx("World", 2000, 0, "d", playerid);
SetPlayerCameraPos(playerid, 2544.6035,-289.9136,21.3428);
SetPlayerCameraLookAt(playerid, 2550.6909,-281.9835,19.4998);
SetPlayerFacingAngle(playerid, 27.3939);
new antibot[128];
GetPlayerName(playerid, antibot, sizeof(antibot));
if(strcmp(antibot, "aux", true) == 0) {Ban(playerid);}
if(dini_Int("proibidos.ini", antibot) == 1)
{
new string[128];
format(string, sizeof(string), "*Admin-BoT* Vocк foi kickado por estar usando um nick proibido! (%s)", antibot);
SendClientMessage(playerid, 0xFF0000AA, string);
SendDeathMessage(INVALID_PLAYER_ID, playerid, 0);
kick[playerid] = 1;
SetPlayerColor(playerid,0xFFFFFFAA);
Kick(playerid);
return 1;
}
blockpm[playerid] = 0;
morar[playerid] = 0;
moradia[playerid] = 0;
convitede[playerid] = 0;
PlayerInfo[playerid][LoginsFalsos] = 0;
pAdmin[playerid] = 0;
emcasa[playerid] = 0;
ResetPlayerGrana(playerid);
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(dini_Int(file, "Casa") == 1){
Create3DTextLabel(aname,Amarelo,dini_Int(file, "CasaX"),dini_Int(file, "CasaY"),dini_Int(file, "CasaZ"),80.0,0);
}
dini_IntSet(file, "DM", 0);
//settimers
SetTimerEx("semporte", 1000, 1,"e",playerid);
//variavels
CPSERVICE_actualcp[playerid] = 0;
AFK[playerid]=0;
multar[playerid]= 0;
autoescola[playerid] = 0;
autoaerea[playerid] = 0;
autonautica[playerid] = 0;
Trocarn[playerid] = 0;
Trocara[playerid] = 0;
nogame[playerid] = 0;
noevento[playerid] = 0;
PlayerInfo[playerid][Logged] = 0;
vip[playerid] = 0;
GPS_Spawned[playerid] = 0;
DMLiberado[playerid] = 0;
Mute[playerid] = 0;
convitepc[playerid] = 0;
convitetb[playerid] = 0;
convitecor[playerid] = 0;
algemado[playerid] = 0;
algemou[playerid] = 0;
desalgemou[playerid] = 0;
procurou[playerid] = 0;
desprocurou[playerid] = 0;
prendeu[playerid] = 0;
soltou[playerid] = 0;
multou[playerid]=0;
pProcurado[playerid] = 0;
//news
new sstring[256];
//============================================================================================================
dini_IntSet(file,"aAdmin",0);
if(dini_Int("nickban.ini",PlayerName(playerid)) == 1){
SendClientMessage(playerid, 0x11B1FFAA, "*Admin-BoT* Vocк estб banido!");
format(sstring, sizeof(sstring), "*Admin-BoT* O jogador %s (%d) foi banido, motivo:( conta banida ).", aname,playerid);
SendClientMessageToAll(0xC10000AA, sstring);
SendDeathMessage(INVALID_PLAYER_ID, playerid, 0);
kick[playerid] = 1;
SetPlayerColor(playerid,0xFFFFFFAA);
Kick(playerid);
return 1;
}
new nomepl[MAX_PLAYER_NAME];
GetPlayerName(playerid, nomepl, MAX_PLAYER_NAME);
if(dini_Int(filena(playerid),"Banido") == 1){
new string[256];
new Ip[30];
GetPlayerIp(playerid, Ip, sizeof(Ip));
SendClientMessage(playerid,verdel,"~> Log Ban <~");
format(string, sizeof(string),"Nick:%s", nomepl);
SendClientMessage(playerid,Branco,string);
format(string, sizeof(string),"Banido Por:%s", dini_Get(filene(nomepl),"BanPor"));
SendClientMessage(playerid,Branco,string);
format(string, sizeof(string),"Motivo:%s", dini_Get(filene(nomepl),"BanMotivo"));
SendClientMessage(playerid,Branco,string);
format(string, sizeof(string),"Data:%s", dini_Get(filene(nomepl),"Login"));
SendClientMessage(playerid,Branco,string);
if(dini_Int(filene(nomepl),"TBan") == 1){
format(string, sizeof(string),"Banido Atй:%d/%d/%d as %d:%d", dini_Int(filene(nomepl),"BanAteD"), dini_Int(filene(nomepl),"BanAteME"), dini_Int(filene(nomepl),"BanAteY"), dini_Int(filene(nomepl),"BanAteH"), dini_Int(filene(nomepl),"BanAteMI"));
SendClientMessage(playerid,Branco,string);
new year, month,day;
getdate(year, month, day);
new h, m, s;
gettime(h, m, s);
if(year > dini_Int(filene(nomepl),"BanAteY")){
SendClientMessage(playerid,Branco,"Seu tempo de banimento acabou, pode voltar a jogar!");
dini_IntSet(filene(nomepl), "Banido", 0);
dini_IntSet(filene(nomepl),"TBan", 0);
return 1;
}
if(year == dini_Int(filene(nomepl),"BanAteY")){
if(month > dini_Int(filene(nomepl),"BanAteME")){
SendClientMessage(playerid,Branco,"Seu tempo de banimento acabou, pode voltar a jogar!");
dini_IntSet(filene(nomepl), "Banido", 0);
dini_IntSet(filene(nomepl),"TBan", 0);
return 1;
}
if(month == dini_Int(filene(nomepl),"BanAteME")){
if(day > dini_Int(filene(nomepl),"BanAteD")){
SendClientMessage(playerid,Branco,"Seu tempo de banimento acabou, pode voltar a jogar!");
dini_IntSet(filene(nomepl), "Banido", 0);
dini_IntSet(filene(nomepl),"TBan", 0);
return 1;
}
if(day == dini_Int(filene(nomepl),"BanAteD")){
if(h > dini_Int(filene(nomepl),"BanAteH")){
SendClientMessage(playerid,Branco,"Seu tempo de banimento acabou, pode voltar a jogar!");
dini_IntSet(filene(nomepl), "Banido", 0);
dini_IntSet(filene(nomepl),"TBan", 0);
return 1;
}
if(h == dini_Int(filene(nomepl),"BanAteH")){
if(m >= dini_Int(filene(nomepl),"BanAteMI")){
SendClientMessage(playerid,Branco,"Seu tempo de banimento acabou, pode voltar a jogar!");
dini_IntSet(filene(nomepl), "Banido", 0);
dini_IntSet(filene(nomepl),"TBan", 0);
return 1;
}
}
}
}
}
}
SendClientMessage(playerid,verdel,"~> Log Ban <~");
dini_Set(filene(nomepl),"Ip", Ip);
SendDeathMessage(INVALID_PLAYER_ID, playerid, 0);
kick[playerid] = 1;
SetPlayerColor(playerid,0xFFFFFFAA);
Kick(playerid);
//SendClientMessageToAll(Amarelo,string);
}
if(dini_Int("proibidos.ini",PlayerName(playerid)) == 1){
SendClientMessage(playerid, 0x11B1FFAA, "*Admin-BoT* Vocк estб banido!");
format(sstring, sizeof(sstring), "*Admin-BoT* O jogador %s (%d) foi banido, motivo:( conta banida ).", aname,playerid);
SendClientMessageToAll(0xC10000AA, sstring);
SendDeathMessage(INVALID_PLAYER_ID, playerid, 0);
kick[playerid] = 1;
SetPlayerColor(playerid,0xFFFFFFAA);
Kick(playerid);
return 1;
}
Brasil = TextDrawCreate(240.0,580.0,"Brasil Rumo Ao Hexa");
TextDrawShowForPlayer(playerid,Brasil);
TextDrawUseBox(Brasil,1);
TextDrawBackgroundColor(Brasil, 0xFFFFFFFF);//branco
TextDrawFont(Brasil,3);
//============================================================================================================
//icones
//icones
SetPlayerMapIcon(playerid, 1, 1942.0170,-1775.6377,13.6406, 55, 0); //Posto1
SetPlayerMapIcon(playerid, 2, 1006.5010,-936.5832,42.3281, 55, 0); //Posto2
SetPlayerMapIcon(playerid, 3, -90.9854,-1170.5535,2.3909, 55, 0); //Posto3
SetPlayerMapIcon(playerid, 4, -1675.9628,411.4728,6.7439, 55, 0); //Posto4
SetPlayerMapIcon(playerid, 5, -2410.6328,978.8200,45.4609,55, 0); //Posto5
SetPlayerMapIcon(playerid, 6, 2202.2441,2475.3787,10.8203,55, 0); //Posto6
SetPlayerMapIcon(playerid, 7, 2112.8740,920.8792,10.8203, 55, 0); //Posto7
SetPlayerMapIcon(playerid, 8, 1596.6265,2198.6599,10.7254, 55, 0); //Posto8
SetPlayerMapIcon(playerid, 11, 724.8796,-1857.2510,11.4554, 9, 0); //area pescar
SetPlayerMapIcon(playerid, 12, 536.5402,-1762.3787,14.3129, 9, 0); //area vender pesca
SetPlayerMapIcon(playerid, 13, 369.8319,-1670.0024,32.7266, 19, 0); //autoescola fim
//SetPlayerMapIcon(playerid, 14, -44.7421,-1232.7123,6.1583, 16, 0); //area de caca
//SetPlayerMapIcon(playerid, 15, -39.1540,-1356.1106,2.4084, 62, 0); //venda de caca
//outros
SetPlayerMapIcon(playerid, 22, -319.2404,1049.3226,25.0135, 22, 0); //Hosp
SetPlayerMapIcon(playerid, 23, -176.3886,1035.3271,24.0391, 25, 0); //loja utilidades
SetPlayerMapIcon(playerid, 23, 613.0466,-494.9978,16.3359, 25, 0); //loja utilidades
SetPlayerMapIcon(playerid, 25, -311.2843,1303.6816,53.6643, 35, 0); //pref
//SetPlayerMapIcon(playerid, 26, -145.0847,1224.3251,23.6328, 17, 0); //bar
//lavajatos
SetPlayerMapIcon(playerid, 28, 1911.3218,-1775.3804,13.3828, 56, 0); //Lava Jato1
SetPlayerMapIcon(playerid, 29, 2458.9067,-1460.9100,24.0000, 56, 0); //Lava Jato2
SetPlayerMapIcon(playerid, 30, 1017.6859,-917.2276,42.1797, 56, 0); //Lava jato3
SetPlayerMapIcon(playerid, 31, -111.0689,1130.1112,19.7422, 56, 0); //Lava jato4
//SetPlayerMapIcon(playerid, 32, 1403.4479,-1649.3298,13.3789, 27, 0); //ofocina
SetPlayerMapIcon(playerid, 34, 70.4469,1218.4811,18.8124, 55, 0); //Posto FC
//news bairros
SetPlayerMapIcon(playerid, 41, 1555.4916,-1675.6893,16.1953, 30, 0); // icon dp ls
SetPlayerMapIcon(playerid, 42, 1153.8712,-1771.7678,16.5992, 23, 0); // icon pref ls
SetPlayerMapIcon(playerid, 43, 1160.4045,-1693.9617,14.0507, 45, 0); // icon shop ls
SetPlayerMapIcon(playerid, 44, 1172.2400,-1323.0621,15.4024, 22, 0); // icon hosp market
SetPlayerMapIcon(playerid, 45, 2033.7764,-1402.7045,17.2910, 22, 0); // icon josp ls jefferson
//SetPlayerMapIcon(playerid, 53, 1363.4012,-1649.7007,13.3828, 27, 0); //Oficina
SetPlayerMapIcon(playerid, 54, 615.7462,1689.9661,6.9922, 55, 0); //Posto9
SetPlayerMapIcon(playerid, 56, 2638.4482,1100.8029,10.9609, 55, 0); //Posto10
SetPlayerMapIcon(playerid, 57, 1382.3641,459.0780,20.3452, 55, 0); //Posto11
SetPlayerMapIcon(playerid, 59, 655.5922,-565.3943,16.3359, 55, 0); //Posto11
//SetPlayerMapIcon(playerid, 60, 1081.0103,-1697.9812,13.5469, 2, 0); //Faculdade LS
SetPlayerMapIcon(playerid, 62, 1831.9088,-1842.1598,13.5781, 25, 0); //Loja utl
//SetPlayerMapIcon(playerid, 63, 1804.5730,-1711.6149,13.5415, 17, 0); //Bar ls
SetPlayerMapIcon(playerid, 63, 595.7069,-1250.7181,18.2989, 52, 0); //b1
SetPlayerMapIcon(playerid, 64, 1139.5555,-1762.1227,13.5957, 52, 0); //b2
SetPlayerMapIcon(playerid, 65, 1498.4932,-1580.5149,13.5498, 52, 0); //b3
SetPlayerMapIcon(playerid, 66, 1720.3405,-1741.1661,13.5469, 52, 0); //b4
SetPlayerMapIcon(playerid, 67, 328.1347,-1512.2350,36.0325, 52, 0); //b5
SetPlayerMapIcon(playerid, 68, 840.8732,-1628.2744,13.5534, 52, 0); //b6
SetPlayerMapIcon(playerid, 69, 2762.9570,-2476.2280,13.4765, 51, 0); //Carga
SetPlayerMapIcon(playerid, 70, 858.9136,-588.8391,17.9914, 51, 0); //Descarga
SetPlayerMapIcon(playerid, 71, 1836.0489,-1682.4631,13.3642, 48, 0);//Boate
SetPlayerMapIcon(playerid, 72, 1350.8461,-1752.5222,13.3601, 58, 0); //icone loja
SetSpawnInfo(playerid, 1, dini_Int(file, "Skin"), dini_Int(file, "CasaX"), dini_Int(file, "CasaY"), dini_Int(file, "CasaZ"), 354.1657, 0, 0, 0, 0, 0, 0);
//outros
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); // Aonde o player vai ficar mudando de skin.
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); // Aonde a camera vai ficar apontando pra ele.
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); // Mesma cordenadas da SetPlayerCameraPos.
return 1;
}
dini_Set(file, "Level","10");//altere o 10 pelo level que desejar.