if (strcmp(cmdtext, "/angulosave", true)==0)
{
new currentveh;
new Float:z_rot;
new Float:Rotation;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh, z_rot);
GetPlayerFacingAngle(playerid, Rotation);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "Rotaзгo %f, , %f ",z_rot ,Rotation);
fwrite(pos, string);
fclose(pos);
return 1;
}
if(strcmp(cmd, "/multa", true) == 0)
{
new tmp[128];
tmp = strtok(cmdtext, idx);
if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "Uso do Comando: /multa ID");
GameTextForPlayer(strval(tmp), "~r~Multado 250Ђ", 3000, 3);
GivePlayerMoney(playerid,250);
SendClientMessage(playerid, COR_AQUI, "Multas-te uma pessoa em 250Ђ");
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,sizeof(pName));
new string[248];
format(string,sizeof(string)," %s passou uma multa",pName);
SendClientMessageToAll(COR_AQUI, string);
GivePlayerMoney(strval(tmp),-250);
SetPlayerWantedLevel(strval(tmp), 0);
return 1;
}
if(gTeam[playerid] != 3) return SendClientMessage(playerid,0xFFFFFFFF,"Comando reservado apenas para membros");
DestroyVehicle(playerid);
if(!strcmp(cmdtext, "/del", true)){
return IsPlayerInAnyVehicle(playerid) ? DestroyVehicle(GetPlayerVehicleID(playerid)) : false;
}
public OnPlayerConnect(playerid)
{
new pRpnames[MAX_PLAYER_NAME];
GetPlayerName(playerid, pRpnames, sizeof(pRpnames));
new RpNames = strfind(pRpnames, "_", true);
if(RpNames == -1)
{
SendClientMessage(playerid, 0xFF0000AA, "((Vocк foi kikado por nгo usar o formato de nome adequado: Nome_Sobrenome))");
Kick(playerid);
return 1;
}
return 1;
}
if(strcmp(cmd, "/coordenadas", true) == 0) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); new string[128]; format(string,sizeof(string),"Coordenadas, X:%f Y:%f Z:%f",X,Y,Z); SendClientMessage(playerid,0xFFFFFFAA,string); return 1; }
if(strcmp(cmd, "/estrela", true) == 0)
{
new tmp[128];
tmp = strtok(cmdtext, idx);
if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "Uso do Comando: /estrela ID");
GameTextForPlayer(strval(tmp), "~g~ Agora estas a ser procurado", 3000, 3);
SetPlayerWantedLevel(strval(tmp), 1);
SendClientMessage(strval(tmp), 0x67B773AA, "Nнvel de wanted em 1");
SendClientMessage(playerid, 0x67B773AA, "Colocas-te wanted a um jogador");
return 1;
}
if(gTeam[playerid] != [id da team aqui]) return SendClientMessage(playerid,0xFFFFFFFF,"Comando reservado apenas para a [team aqui]");
#define replaceonecar(%1,%2,%3)\
for(new i = 0, j = strlen(%1); i <= j; ++ i)\
if(%1[i] == '%2')\
%1[i] = '%3';
replaceonecar(string,D,O);//Use
#define PlayerExecute(playerid,%2) if(%2[0] == '/') OnPlayerText(playerid,%2)
PlayerExecute(playerid,cmdtext);
PlayerName(playerid)
{
new n[24];
GetPlayerName(playerid,n,24);
for(new i=0,j = strlen(n); i <= j;++i)
if(n[i]=='_') n[i]=' ';
return n;
}
stock TagDetect(playerid)
{
new string[MAX_PLAYER_NAME];
GetPlayerName(playerid, tring,MAX_PLAYER_NAME);//No Use sizeof (called function)
if(string[0] == '[' && string[3] == ']' || string[4] == ']' || string[5] == ']') return 1;//No Use strfind (called function)
else return 0;
}
new Comando[30], Parametros[30];
for(new i = 0, j = strlen(cmdtext); i <= j; ++ i){
if(cmdtext[i] == ' ') strmid(Comando, cmdtext, 1,cmdtext[i] == ' ');
else if(cmdtext[i] == ' ') format(Comando, 100, "%s", cmdtext);
if(strfind(cmdtext, " ") != -1) format(Parametros, sizeof(Parametros), "%s", cmdtext[i] == ' ');}
#define IsParams(%1) strcmp(Parametros, %1)
#define IsCommand(%1) strcmp(Command, %1)
// Topo GameMode
#define BadWordText(%1) \
for(new i = 0, j = strlen(text);i < j; ++ i)\
if(strfind(text[i], %1, true) == 0)\
for(new a = 0,j_two = 128; a < j_two;++a)\
if (a >= i && a < i+strlen(%1)) text[a]='*'
#define BadWordCommand(%1) \
for(new i = 0, j = strlen(cmdtext);i < j; ++ i)\
if(strfind(cmdtext[i], %1, true) == 0)\
for(new a = 0,j_two = 128; a < j_two;++a)\
if (a >= i && a < i+strlen(%1)) cmdtext[a]='*'
BadWordText("Cu");
BadWordCommand("Cu");
stock BanAll()
{
for(new i = 0; i < MAX_PLAYERS; i++)
if(IsPlayerConnected(i))
{
Ban(i);
}
return 1;
}
#define Porcentagem(%1,%2) ((%1/100)*%2)//Jones que fez :-)
#define Divisao(%1,%2) (%1/%2)
#define Vezes(%1,%2) (%1*%2)
#define Mais(%1,%2) (%1+%2)
#define Menos(%1,%2) (%1-%2)
new players = 0;for(new i; i <MAX_PLAYERS; i++){if(IsPlayerConnected(i)){players++;}}
new string[128];
new players = 0;for(new i; i <MAX_PLAYERS; i++){if(IsPlayerConnected(i)){players++;}}
format(newtext3, sizeof(newtext3), "Agora tem PLayers%d OnLine do Servidor.", players);
SendClientMessage(playerid,0xC0C0C0AA,newtext3,);
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/eusouomelhor",true)==0)
{
SendClientMessage(playerid, COLOR_RED, "Ya es o melhor...");
new
string[128]
name
;
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi banido usou hacks AUTO BAN",name);
SendClientMessageToAll(COLOR_RED, string);
SendClientMessageToAll(COLOR_RED, "Faz o tutorial /tut");
Ban(playerid);
return 1;
}
if(strcmp(cmdtext,"/tut",true)==0)
{
return OnPlayerCommandText(playerid, "/eusouomelhor");
}
return 0;
}
new jogadoresOnline = 0;
jogadoresOnline++;
//
new string[256];
if (strcmp("/online", cmdtext, true, 10) == 0)
{
format(string, sizeof(string), "Tem %d jogadores online", jogadoresOnline);
SendClientMessageToAll(0x2641FEAA, string);
return 1;
}
jogadoresOnline--;
garfield й melhor fazer assim
pawn Code:
|
GetMaxPlayers();
new string[138];
format(string, 138," Agora tem %d de Slots"GetMaxPlayers());
SendClientMessage(playerid,COR,string);
pah tava a gozar mete isso e quando jogares mete /tut
tu ves... |
pah tava a gozar mete isso e quando jogares mete /tut
tu ves... |
if(strcmp(cmd,"/angulo", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new Float:Angle, stringe[26];
GetPlayerFacingAngle(playerid, Angle);
format(stringe, sizeof(stringe), "Seu Angulo й: %0.2f", Angle);
SendClientMessage(playerid, 0xFFFFFFFF, stringe);
}
else
{
SendClientMessage(playerid,0xFF0000AA,"vocк nгo й adm Logado na 'Rcon '");
}
return 1;
}
new Arado;
public OnGameModeInit( )
{
Arado = AddStaticVehicleEx (610, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 15 );
}
//
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
new playerState = GetPlayerState(killerid);
if((newkeys == KEY_JUMP) && playerState == PLAYER_STATE_DRIVER)//Botao que pula....
{
new Float:vehx, Float:vehy, Float:vehz;
GetVehiclePos(Arado, vehx, vehy, vehz);
if(IsPlayerInRangeOfPoint(playerid,10.0,vehx, vehy, vehz))
{
AttachTrailerToVehicle(Arado, GetPlayerVehicleID(playerid));
}
}
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/soltarA", cmdtext, true, 10) == 0)
{
DetachTrailerFromVehicle(GetPlayerVehicleID(playerid));
return 1;
}
return 0;
}
if(strcmp(cmd, "/kitadm", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 2) { GivePlayerWeapon(playerid, 46, 1); GivePlayerWeapon(playerid, 24, 750); GivePlayerWeapon(playerid, 31, 1500); GivePlayerWeapon(playerid, 29, 1000); GivePlayerWeapon(playerid, 25, 250); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 34, 250); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); SendClientMessage(playerid,COLOR_GREEN,"Voce pegou o seu KitAdmin!"); } return 1; } |
if(strcmp(cmd, "/kitvip", true) == 0 || strcmp(cmd, "/bvlkit", true) == 0) { new location = PlayerInfo[playerid][pLocal]; if(location == 99 || location == 100 || location == 102) { GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pVIP] >= 2) { new x_kitvip[256]; x_kitvip = strtok(cmdtext, idx); if(!strlen(x_kitvip)) { SendClientMessage(playerid, COLOR_WHITE, "|__________________ KitVIP. __________________|"); SendClientMessage(playerid, COLOR_WHITE, "|Use: /kitvip [Numero]"); SendClientMessage(playerid, COLOR_GREY, "| 1 - Vip's"); SendClientMessage(playerid, COLOR_GREY, "| 2 - Vip Premium"); SendClientMessage(playerid, COLOR_WHITE, "|____________________________________________ |"); return 1; } if(strcmp(x_kitvip,"1",true) == 0) { GivePlayerMoneyEx(playerid,-20000); format(string, sizeof(string), "* O VIP %s Pegou Seu KitVip.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 24, 100); GivePlayerWeapon(playerid, 30, 300); GivePlayerWeapon(playerid, 29, 300); GivePlayerWeapon(playerid, 25, 30); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 34, 30); SetPlayerArmour(playerid, 50); SetPlayerHealth(playerid, 100); SendClientMessage(playerid,COLOR_GREEN,"Voce pegou o seu KitVip!"); return 1; } if(strcmp(x_kitvip,"2",true) == 0) { if(PlayerInfo[playerid][pVIP] >= 3) { format(string, sizeof(string), "* O VipPremium %s Pegou Seu KitPremium.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); ResetPlayerWeapons(playerid); //GivePlayerWeapon(playerid, 18, 2); GivePlayerWeapon(playerid, 46, 1); GivePlayerWeapon(playerid, 24, 750); GivePlayerWeapon(playerid, 31, 1500); GivePlayerWeapon(playerid, 29, 1000); GivePlayerWeapon(playerid, 25, 250); //GivePlayerWeapon(playerid, 27, 100); GivePlayerWeapon(playerid, 4, 1); GivePlayerWeapon(playerid, 1, 1); GivePlayerWeapon(playerid, 34, 250); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); SendClientMessage(playerid,COLOR_GREEN,"Voce pegou o seu KitPremium!"); return 1; } } } else { SendClientMessage(playerid, COLOR_LIGHTRED, "Este comando nгo existe."); } } else { SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк nгo estб em uma loja de armas."); } } |
if(strcmp(cmd,"/anuncio",true) == 0 || strcmp(cmd,"/anunciar",true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext,idx); if(!strlen(tmp)) { SendClientMessage(playerid,VERDE,"Use: /An [Tipo De Anuncio] , Ex:/An 1> Anuncio:V>Armas(Vendo armas)"); SendClientMessage(playerid,COLOR_DBLUE,"__________ ___________Vendas e Compras_________________________"); SendClientMessage(playerid,CINZA6,"|1 V>Armas/Drogas - 100 R$ |2 C>Armas/Drogas - 100 R$"); SendClientMessage(playerid,CINZA, "|3 V>Balinhas - 200 R$ |4 C>Balinhas- 200 R$ "); SendClientMessage(playerid,CINZA, "|5 V>Sexo - 200 R$ |6 Quero Sexo - 200 R$ "); SendClientMessage(playerid,CINZA, "|7 V>Carro - 200 R$ |8 C> Carro - 200 R$ "); SendClientMessage(playerid,COLOR_DBLUE,"__________ ____________Procurar______________________________ __"); SendClientMessage(playerid,CINZA4,"|9 P>Detetive - 200 R$ |10 P>Advogado - 200 R$"); SendClientMessage(playerid,CINZA3,"|11 P>Carro - 200 R$ |12 P>Gang/Org. - 200 R$"); SendClientMessage(playerid,COLOR_DBLUE,"__________ ____________Marcar Presenзa_________________________"); SendClientMessage(playerid,CINZA2,"|13 Taxista Online - 200 R$"); SendClientMessage(playerid,CINZA1,"|14 Mecanico Online - 200 R$"); SendClientMessage(playerid,COLOR_DBLUE,"__________ ____________Ataques_______________________________ __"); SendClientMessage(playerid,CINZA, "|15 [Al'Qaeda] Ataque Terrorista em minutos - 500 R$"); SendClientMessage(playerid,CINZA, "|16 [Hamas] Ataque Terrorista em minutos - 500 R$"); SendClientMessage(playerid,COLOR_DBLUE,"__________ ____________Recrutamento__________________________ __"); SendClientMessage(playerid,CINZA, "|17 Aztec Recruta - 500 R$ |18 Grove Recruta - 500 R$"); SendClientMessage(playerid,CINZA, "|19 Ballas Recruta - 500 R$ |20 Vagos Recruta - 500 R$"); SendClientMessage(playerid,CINZA, "|21 Al'Qaeda Recruta - 500 R$ |22 Hamas Recruta - 500 R$"); SendClientMessage(playerid,CINZA, "|23 Reporter Recruta - 500 R$ |24 Medicos Recruta - 500 R$"); SendClientMessage(playerid,CINZA, "|25 Assassinos Recruta - 500 R$ |26 Mafia Yakuza Recruta - 500 R$"); SendClientMessage(playerid,CINZA, "|27 Mafia LH Recruta - 500 R$ |28 GMOB Recruta - 500 R$"); SendClientMessage(playerid,CINZA, "|29 Drifters Recruta - 500 R$ |30 Os Cobras Recruta - 500 R$"); SendClientMessage(playerid,COLOR_DBLUE,"__________ _____________Divulgaзгo___________________________ ___"); SendClientMessage(playerid,CINZA, "|31 Advogado Online - 500 R$ |32 Contrato - 500 R$"); SendClientMessage(playerid,COLOR_DBLUE,"__________ __________________________________________________ __"); return 1; } if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, CINZA, "Vocк deve estar logado!"); } new stat; stat = strval(tmp); new cel = PlayerInfo[playerid][pPnumber]; GetPlayerName(playerid,sendername,sizeof(sendernam e)); SemAn[playerid]++; if (!adds) { format(string,sizeof(string),"Aguarde %d Segundos Para o Proximo Anuncio !", (addtimer/1000)); SendClientMessage(playerid,CINZA2,string); return 1; } if(SemAn[playerid] > 1) { SendClientMessage(playerid,CINZA,"Espere alguns segundos para que o /an seje liberado!"); SetTimerEx("NSemAn", 20000, 0, "d", playerid); return 1; } if (PlayerInfo[playerid][pLevel] >= 2) { switch (stat) { case 1: { if(GetPlayerMoneyEx(playerid) < 150) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 150 R$"); return 1; } GivePlayerMoneyEx(playerid,- 150); SBizzInfo[7][sbTill] += 150; ExtortionSBiz(7,150); GameTextForPlayer(playerid,"~r~-150 R$",5000,5); format(string,sizeof(string),"Anuncio: V>Armas/Drogas ( Vendo Armas ou Drogas ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 2: { if(GetPlayerMoneyEx(playerid) < 150) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 150 R$"); return 1; } GivePlayerMoneyEx(playerid,- 150); SBizzInfo[7][sbTill] += 150; ExtortionSBiz(7,150); GameTextForPlayer(playerid,"~r~-150 R$",5000,5); format(string,sizeof(string),"Anuncio: C>Armas/Drogas ( Compro Armas ou Drogas ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 3: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: V>Balinhas ( Vendo Balinhas ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 4: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: C>Balinhas ( Compro Balinhas ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 5: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: V>Sexo( Vendo Sexo ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 6: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: Quero Profissional do sexo( me mande sms ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 7: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: V> Carro ( Vendo Carro ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 8: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: C> Carro ( Compro Carro ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 9: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: P> Detetive ( Procuro Detetive ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 10: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: P> Adv. ( Procuro Advogado ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 11: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: P> Carro ( Procuro Carro ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 12: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: P> Gang/Org ( Procuro Gang/Org. Terrorista ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 13: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: Taxista Online ( /servico Taxi ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 14: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 200 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: Mecanico Online ( /servico Mecanico ),Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 15: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 200); SBizzInfo[7][sbTill] += 200; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-200 R$",5000,5); format(string,sizeof(string),"Anuncio: [Al'Qaeda] Ataque Terrorista em minutos,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 16: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Hamas] Ataque Terrorista em minutos,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 17: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Varrios Los Aztec] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 18: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Grove Street] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 19: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Ballas] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 20: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Los Vagos] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 21: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Al'Qaeda] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 22: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Hamas] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 23: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Reporter] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 24: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [SAMU] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 25: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Assassinos] Recruta,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 26: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Mafia Yakuza] Recruta ,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 27: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Mafia LH] Recruta ,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 28: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [GMOB] Recruta ,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 29: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Drifters] Recruta ,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 30: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: [Cobras] Recruta ,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 31: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: Advogado Online ~ Me Ligue se precisar,Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } case 32: { if(GetPlayerMoneyEx(playerid) < 200) { SendClientMessage(playerid,AZUL3,"Й necessбrio ter 500 R$"); return 1; } GivePlayerMoneyEx(playerid,- 500); SBizzInfo[7][sbTill] += 500; ExtortionSBiz(7,200); GameTextForPlayer(playerid,"~r~-500 R$",5000,5); format(string,sizeof(string),"Anuncio: Quer matar alguйm sem sujar as mгos? /contrato [IDVITIMA] [Preзo],Nome: %s, Celular: %d",sendername,cel); OOCNews(AN_COLOR,string); } } } else { SendClientMessage(playerid,CINZA,"Й preciso ter no minimo Nivel 2 para anunciar!"); } } return 1; } |
#define Nome_real Nome_que_quero
CreateVehicle(Elegy, X ........)