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");
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
if(CosminInfo[playerid][Coins] >= 800 && GetPlayerMoney(playerid) >= 10000000)
{
GivePlayerMoney(playerid -10000000);
GivePlayerWeapon(playerid, 35, 20);
CosminInfo[playerid][Coins] -= 800;
SendClientMessage(playerid, COLOR_YELLOW, "You bought an HS Rocket Launcher for 800 coins and and $10000000");
} else
{
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");
}
pawn Code:
|