03.05.2010, 01:24
Hi again, lol probably getting sick of me. lol neway,
Trying to code for properties on my server, and i am coding the commands
(/buyproperty), and (/sellproperty)
my code is
When i go to compile it, it gives me this
Any ideas any1? still new to coding with pawno, but i am getting better every step i take.
Trying to code for properties on my server, and i am coding the commands
(/buyproperty), and (/sellproperty)
my code is
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/buyproperty", cmdtext, true) == 0) { BuyPropertyForPlayer(playerid); return 1; } if (strcmp("/sellproperty", cmdtext, true) == 0) { SellPropertyForPlayer(playerid); return 1; } }
Quote:
(249) : warning 209: function "OnPlayerCommandText" should return a value |