11.01.2012, 20:09
Prueba asн:
pawn Код:
if(!strcmp(cmd, "/armasget", true))
{
if(PlayerInfo[playerid][pLeader] == 5)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 1864.7258, -2003.8823, 13.5469))
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 20);
GivePlayerMoney(playerid, -1000);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s Abre el maletero y toma una deagle.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
}
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "No podes usar ese comando!");
}
return 1;
}

