new org[MAX_PLAYERS];
new socio[MAX_PLAYERS];
public OnPlayerCommandText(playerid, cmdtext[])
{
new tmp[256], idx;
if(strcmp(cmdtext, "/socio", true) == 0)
{
if(socio[playerid] == 1) return SendClientMessage(playerid, -1, "Vocк jб й socio !");
socio[playerid] = 1;
SendClientMessage(playerid, -1, "Vocк acaba de virar um socio.");
return 1;
}
if(strcmp(cmdtext, "/kitsocio", true) == 0)
{
if(socio != 1) return SendClientMessage(playerid, -1, "Vocк nгo й socio.");
GivePlayerWeapon(playerid, 29, 1000);
GivePlayerWeapon(playerid, 31, 1000);
SendClientMessage(playerid, -1, "Vocк ganhou uma MP5 e uma M4 com 1000 balas cada.");
return 1;
}
if(strcmp(cmdtext, "/jetpack", true) == 0)
{
if(socio != 1) return SendClientMessage(playerid, -1, "Vocк nгo й socio.");
SetPlayerSpecialAction(playerid, 2);
SendClientMessage(playerid, -1, "Vocк pegou um jet pack.");
return 1;
}
if(strcmp(cmdtext, "/socios", true) == 0 || strcmp(cmdtext, "/so", true) == 0)
{
if(socio != 1) return SendClientMessage(playerid, -1, "Vocк nгo й socio.");
tmp = strtok(cmdtext, idx);
if(!strlen(texto)) return SendClientMessage(playerid, -1, "USO: /so(cios) [TEXTO]");
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(socio[i] == 1)
{
SendClientMessage(i, -1, tmp);
return 1;
}
}
return 1;
}
if(strcmp(cmdtext, "/org", true) == 0)
{
if(socio != 1) return SendClientMessage(playerid, -1, "Vocк nгo й socio.");
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "USO: /org [NUMERO DA ORG]");
new n = strval(tmp);
org[playerid] = n;
new str[100];
format(str, 100, "Vocк agora faz parte da ORG %d !", n);
SendClientMessage(playerid, -1, str);
return 1;
}
return 0;
}
if(strcmp(cmd, "/kitsocio", true) == 0)
{
if(PlayerToPoint(40, playerid,-2327.6248,-1632.1316,483.7000) || PlayerToPoint(40, playerid,-2393.5776,-2205.3010,33.2891) || PlayerToPoint(40, playerid,-2400.9810,2217.5979,4.9844))
{
SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo pode usar seu kit no evento!");
return 1;
}
if(PlayerInfo[playerid][pJailed] != 0)
{
SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo pode usar seu kit preso!");
return 1;
}
if(PlayerPaintballing[playerid] != 0)
{
SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo pode usar seu kit no evento!");
return 1;
}
if(!IsADonos(playerid) && admtrampando[playerid] < 0)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб em modo jogo! (/trabalhar)");
return 1;
}
if (PlayerInfo[playerid][pSocio] >= 1)
{
ResetPlayerWeapons(playerid);
//GivePlayerWeapon(playerid, 46, 1);
GivePlayerWeapon(playerid, 24, 999);
GivePlayerWeapon(playerid, 31, 1999);
GivePlayerWeapon(playerid, 29, 1999);
GivePlayerWeapon(playerid, 25, 1999);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 40, 1);
GivePlayerWeapon(playerid, 34, 180);
GivePlayerWeapon(playerid, 43, 999);
GivePlayerWeapon(playerid, 39, 30);
GivePlayerWeapon(playerid, 46, 1);
SetPlayerArmour(playerid, 150);
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid,COLOR_GREEN,"Vocк pegou o seu KitSуcio!");
SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se,vocк nгo pode estar em batalha! ou levarб carandiru!");
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, 256, "Sуcio: %s Pegou Seu KitSуcio.",name);
ProxDetector(70.0, playerid, string, COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE);
}
return 1;
}
Acho meio dificil agente criar isso ai porque nem sabes o gm que vocк usa,e outra eu conheзo vocк e vc nгo passa de um vagabundo.
|
if(strcmp(cmd, "/kitsocio", true) == 0)
{
if(PlayerToPoint(40, playerid,-2327.6248,-1632.1316,483.7000) || PlayerToPoint(40, playerid,-2393.5776,-2205.3010,33.2891) || PlayerToPoint(40, playerid,-2400.9810,2217.5979,4.9844)) {
SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo pode usar seu kit no evento!");
return 0x01;
}
if(PlayerInfo[playerid][pJailed] > 0) return SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo pode usar seu kit preso!");
if(PlayerPaintballing[playerid] > 0) return SendClientMessage(playerid,COLOR_YELLOW," Vocк nгo pode usar seu kit no evento!");
if(!IsADonos(playerid) && admtrampando[playerid] < 0) return SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб em modo jogo! (/trabalhar)");
if (PlayerInfo[playerid][pSocio] >= 1) {
SendClientMessage(playerid,COLOR_GREEN,"Vocк pegou o seu kit sуcio");
SendClientMessage(playerid,COLOR_LIGHTRED,"Lembre-se, vocк nгo pode estar em batalha! ou levarб prisгo");
new rNome[MAX_PLAYER_NAME]; GetPlayerName(playerid, rNome, sizeof(rNome));
format(string, 256, "Sуcio: %s pegou Seu kitsуcio.", rNome);
ProxDetector(35.0, playerid, string, COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE,COLOR_DBLUE);
jArmasSocio(playerid);
}
return 0x01;
}
//Final do seu gamemode
stock jArmasSocio(playerid)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 999);
GivePlayerWeapon(playerid, 31, 1999);
GivePlayerWeapon(playerid, 29, 1999);
GivePlayerWeapon(playerid, 25, 1999);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 40, 1);
GivePlayerWeapon(playerid, 34, 180);
GivePlayerWeapon(playerid, 43, 999);
GivePlayerWeapon(playerid, 39, 30);
GivePlayerWeapon(playerid, 46, 1);
SetPlayerArmour(playerid, 150);
SetPlayerHealth(playerid, 100);
return 0x01;
}
1° Vocк que й um monte de bosta ^^nao quer assumir que seu server ta falindo ok?
2° Nгo uso o teu game mode entao xiu ai! 3° Nгo te obriguei a vim aqui olhar o topico veio aqui pq quiz e pq ta com inveja pq 90% do teus players vai pro meu sv. ^^ 4° Te fode ai chamine =D BMC VAI OWNAR + QUE O BGL E VC TA COM MEDINHA DE PERDER TEU SV DE BOSTA ENTAO NAO CHORA KKKKKKKKK . OUTRA COISA EXPERIMENTA DERRUBA PRA VC VE KKKKKKKKK ,SO TENTA =) aah esqueci , nao to pedindo pra criar , to pedindo ajuda se vc nao le direito blz? nao to obrigando ninguem aqui a criar , so que tem gente de alto nivel que gosta de ajuda a contrario de vocк ok ? ^^ ATT Kasper_Freeze! |
PHP Code:
|
Bom jonas entao ta ne se й isso que vocк pensa entao tenta ^^
so depois nao chora ^^ outra coisa FU# COM BGL ? VC TIRO MEU ADM NA CARA DE PAU , E EU FAZENDO O SERVIDOR DE CS 1.6 BGL E VC VEM E TIRA MEU ADM QUE JUSTO NEH ?. AGORA , FALA MAIS NADA PRA VC SE MEU SV FICA 1 DIA OFF VC VAI TER RESULTADOS OPOSTOS AMIGO ^^ GRATO. ah lembrando nom vo fica discutindo aqui , outra coisa quem vocк vai chamar ? o erick ? kkkkkk ve se eu tenho medo de furious kkk so to esperando a bri pra vc ataca pra ve ql servidor vai fica off kkk |