Simple basic dialog error? Expected ; found ) help..
#2

You are missing the if part of the if statement on that line, it should be:

pawn Код:
if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid,COLOR_LIGHTRED,"You can't afford this.");
Also the same problem with another similar line after that, I'm sure you can figure it out. In future please read the errors and take a look at the code instead of going straight to the forums for assistance, chances are you can help yourself, you just need to make the effort.

Also, please use [pawn][/pawn] tags in future around your code to make it readable and only post the parts of the code you are having issues with, not the entire thing.
Reply


Messages In This Thread
Simple basic dialog error? Expected ; found ) help.. - by MartinJ1 - 09.05.2012, 19:03
Re: Simple basic dialog error? Expected ; found ) help.. - by JaTochNietDan - 09.05.2012, 19:07

Forum Jump:


Users browsing this thread: 4 Guest(s)