16.07.2012, 12:40
Hello guys I made Weapons Menu and I take some errors can you help me please
Here is my code
And here is the error
Here is my code
pawn Код:
case 9:
{
if(GetPlayerMoney(playerid) < 2000) /*HERE IS LINE 1433*/ return SendClientMessage(playerid, COLOR_YELLOW, "You don't have enoung money to buy a Rifle!");
GivePlayerWeapon(playerid, 33, 110);
GivePlayerMoney(playerid, -2000);
SendClientMessage(playerid, COLOR_YELLOW, "You have bought a Rifle for 2000$");
}
Код:
C:\Users\Mario\Desktop\American Dream Roleplay\gamemodes\U1.pwn(1433) : error 079: inconsistent return types (array & non-array)