Weapon
#1

Hi,I have a problem,and I do not know what is it,I will leave code here,I have some errors. If someone know what is worng,I will wait here for an answer.
HTML Code:
if(CosminInfo[playerid][Coins] < 800), GetPlayerMoney(playerid) > 10000000), GivePlayerMoney(playerid -10000000) return SendError2(playerid, "{E4EDF4}Don't have enough coins and money! You need 800 coins and $10000000", "{E4EDF4}Nu ai destui coins si bani. Ai nevoie de 800 coins si $10000000");
			            else return GivePlayerWeapon(playerid, 35, 20), CosminInfo[playerid][Coins] -= 500, SendClientMessage(playerid, COLOR_YELLOW, "You bought an HS Rocket Launcher for 500 coins and and $5000000");
Errors:
HTML Code:
D:\Counter-Strike 1.6 - WaRzOnE\ESW\gamemodes\ESW.pwn(10401) : error 029: invalid expression, assumed zero
D:\Counter-Strike 1.6 - WaRzOnE\ESW\gamemodes\ESW.pwn(10401) : warning 215: expression has no effect
D:\Counter-Strike 1.6 - WaRzOnE\ESW\gamemodes\ESW.pwn(10401) : error 001: expected token: ";", but found ")"
D:\Counter-Strike 1.6 - WaRzOnE\ESW\gamemodes\ESW.pwn(10401) : error 029: invalid expression, assumed zero
D:\Counter-Strike 1.6 - WaRzOnE\ESW\gamemodes\ESW.pwn(10401) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Weapon - by SeeNN - 18.01.2019, 21:47
Re: Weapon - by Vizi10 - 18.01.2019, 21:57
Re: Weapon - by SeeNN - 18.01.2019, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)