19.11.2011, 14:30
Deixa o cуdigo assim.
Aparece alguma mensagem?
pawn Code:
if(strcmp(cmd, "/equipar", true) == 0)
{
if(GangMateriais == 0)
return SendClientMessage(playerid, 0xF0FFFFAA, "Materiais insuficientes");
if(PlayerToPoint(3, playerid,2513.6479,-1679.9253,13.4545))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pMembro] == 14 || PlayerInfo[playerid][pLider] == 14)//aztecas
{
format(string, sizeof(string), "* O Gangster %s Pegou Seus Equipamentos", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ResetPlayerWeaponsEx(playerid);
SetPlayerArmour(playerid, 100.0);
SetPlayerHealth(playerid, 100.0);
GivePlayerWeapon(playerid, 24, 150);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 25, 80);
GivePlayerWeapon(playerid, 34, 20);
GivePlayerWeapon(playerid, 30, 250);
GangMateriais--;
return 1;
}
else
SendClientMessage(playerid, 0xF0FFFFAA, "Vocк Nгo й Dos Aztecas!!!");
}
else
SendClientMessage(playerid, 0xF0FFFFAA, "Vocк nгo pode ser equipar aqui.");
return 1;
}