11.04.2015, 03:06
am i did correct?
i gave lots of error.. pls fix if player dont have enough money..i want it return error message
Код:
if (strcmp(cmdtext, "/boxing", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 768.1320, 7.1274, 1000.7133))
{
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING);
SendClientMessage(playerid, 0xFFFFFFAA, "You have changed your fighting style to boxing!");
GivePlayerMoney(playerid, -4000);
return 1;
}


