27.05.2018, 22:56
CMD:ak47(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 308.2658, -140.7199, 999.6016))error
SendClientMessage(playerid,COLOR_GREY," You are not at the Goverment Ammunation!"); error
if(GetPlayerMoney(playerid) > 1000)
{
GivePlayerMoney(playerid, -1000);
GameTextForPlayer(playerid, "~r~ -1000$", 5000, 1);
GivePlayerWeapon(playerid, 22, 99999);
}else{SendClientMessage(playerid, COLOR_WHITE, "You don't have that much!");----- error
}
{
if(IsPlayerInRangeOfPoint(playerid, 3.0, 308.2658, -140.7199, 999.6016))error
SendClientMessage(playerid,COLOR_GREY," You are not at the Goverment Ammunation!"); error
if(GetPlayerMoney(playerid) > 1000)
{
GivePlayerMoney(playerid, -1000);
GameTextForPlayer(playerid, "~r~ -1000$", 5000, 1);
GivePlayerWeapon(playerid, 22, 99999);
}else{SendClientMessage(playerid, COLOR_WHITE, "You don't have that much!");----- error
}