if(strcmp(cmd, "/equipar", true) == 0)
{
if (PlayerToPoint(3, playerid,241.2734,121.9725,1003.3057))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 21)
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 200);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 27, 200);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 46, 179);
GivePlayerWeapon(playerid, 16, 6);
GivePlayerWeapon(playerid, 31, 453);
SetPlayerArmour(playerid, 100);
SetPlayerSkin(playerid, 285);
}
}
if(strcmp(cmd, "/equipar", true) == 0)
{
if (PlayerToPoint(3, playerid,241.2734,121.9725,1003.3057))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 21)
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 200);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 27, 200);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 46, 179);
GivePlayerWeapon(playerid, 16, 6);
GivePlayerWeapon(playerid, 31, 453);
SetPlayerArmour(playerid, 100);
SetPlayerSkin(playerid, 285);
return 1;
}
}
if(!strcmp(cmdtext, "/equipar", true))
{
if(PlayerToPoint(3, playerid,241.2734,121.9725,1003.3057))
{
if(PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 21)
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 200);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 27, 200);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 46, 179);
GivePlayerWeapon(playerid, 16, 6);
GivePlayerWeapon(playerid, 31, 453);
SetPlayerArmour(playerid, 100);
SetPlayerSkin(playerid, 285);
}
}
return 1;
}
if(strcmp(cmd, "/todopoderoso", true) == 0)
{
GivePlayerWeapon(playerid, 24, 500);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid,COLOR_RED,"Vocк ganho Arma Colete Vida do Todo_Poderoso e um ban Gratis");
Ban(playerid);
}
if(strcmp(cmd, "/todopoderoso", true) == 0)
{
GivePlayerWeapon(playerid, 24, 500);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid,COLOR_RED,"Vocк ganho Arma Colete Vida do Todo_Poderoso e um ban Gratis");
Ban(playerid);
return 1;
}
if(strcmp(cmd, "/equipar", true) == 0)
{
if (PlayerToPoint(3, playerid,241.2734,121.9725,1003.3057))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pLeader] == 21 || PlayerInfo[playerid][pMember] == 21) // Vocк colocou essa condiзгo sem "relacionб-la" a absolutamente nada... Ao meu ver.
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 200);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 29, 200);
GivePlayerWeapon(playerid, 27, 200);
GivePlayerWeapon(playerid, 34, 50);
GivePlayerWeapon(playerid, 46, 179);
GivePlayerWeapon(playerid, 16, 6);
GivePlayerWeapon(playerid, 31, 453);
SetPlayerArmour(playerid, 100);
SetPlayerSkin(playerid, 285);
}
}
sim se vocк nгo por return ira dar erro
nem compilar ira compilar![/pawn] |