03.12.2012, 01:15
A sintaxe estб errada.
Correto seria.
@Edit
Jб resolveram, nem tinha visto hehe
Код:
if (strcmp(cmd, "/cdina", true) == 0) { if(IsAGang(playerid) || IsPlayerInRangeOfPoint(15.0, playerid, 1752.6869, -1943.7567, 13.5691)) { GivePlayerWeapon(playerid, 39, 5); GivePlayerMoney(playerid, - 500); SendClientMessage(playerid,COLOR_GREEN,"Voce pagou R$500 Na Dina"); } return true; }
Код:
if (strcmp(cmd, "/cdina", true) == 0) { if(IsAGang(playerid) || IsPlayerInRangeOfPoint(playerid, 15.0, 1752.6869, -1943.7567, 13.5691)) { GivePlayerWeapon(playerid, 39, 5); GivePlayerMoney(playerid, - 500); SendClientMessage(playerid,COLOR_GREEN,"Voce pagou R$500 Na Dina"); } return true; }
Jб resolveram, nem tinha visto hehe