05.03.2014, 20:10
hey guys i got a problem with my buygun system..... i get only errors...
Код:
CMD:buyguns(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid, 40, 286.148986,-40.644397,1001.515625) || IsPlayerInRangeOfPoint(playerid, 40, 286.800994,-82.547599,1001.515625) || IsPlayerInRangeOfPoint(playerid, 40, 296.919982,-108.071998,1001.515625) || IsPlayerInRangeOfPoint(playerid, 40, 314.820983,-141.431991,999.601562) || IsPlayerInRangeOfPoint(playerid, 40, 316.524993,-167.706985,999.593750)) { ShowPlayerDialog(playerid, DIALOGWEAPONS, DIALOG_STYLE_LIST, "Hello, what guns can I get you?", "Deagle($10000)\nShotgun($2500)\nMP5($15000)\nSpas12($65000)\nAK-47($45000)\nM4($40000)\nSniper($75000)\nHalf vest($10000)\nFull vest($15000)","Buy","Cancel"); } return 1; }