Re: Mining -
Backup7723 - 01.02.2016
Bir tьrkь burada bu başariyla gцrmek зok gьzel. Başarilar.
Re: Mining -
rafanel2 - 18.06.2016
The did not see the bar and the miner mining forever.... Please help me!
Re: Mining -
Rockefeller - 18.06.2016
Nice work , but I have one suggestion , For my opinion it will be better if you will use key to start mining how you did it with drop use key "Y" to start mining and "N" to drop it how it is now.
Re: Mining -
GodLight - 22.12.2016
Hello. I got a problem when I try to compile.
Error:
Code:
C:\Users\: error 029: invalid expression, assumed zero
C:\Users\: warning 215: expression has no effect
C:\Users\: warning 215: expression has no effect
C:\Users\: warning 215: expression has no effect
C:\Users\: warning 215: expression has no effect
C:\Users\: warning 215: expression has no effect
C:\Users\: error 001: expected token: ";", but found ")"
C:\Users\: error 029: invalid expression, assumed zero
C:\Users\: fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
On this line.
Code:
CMD:vehicle(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, 0xE88732FF, "USAGE: {FFFFFF}/vehicle [ores/take]");
if(!strcmp(params, "ores", true))
{
new vehicleid = GetNearestVehicleEx(playerid);
if(!IsValidVehicle(vehicleid)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're not near any vehicle.");
if(!Vehicle_IsMiningVehicle(vehicleid)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}Vehicle isn't a mining vehicle.");
new string[196], title[32];
format(string, sizeof(string), "Name\tAmount\tValue\n");
for(new i; i < MAX_ORE_TYPES; i++) format(string, sizeof(string), "%s%s\t%d\t{2ECC71}$%d\n", string, OreData[i][Name], LoadedOres[vehicleid][i], Vehicle_GetOreValueByType(vehicleid, i));
format(title, sizeof(title), "Loaded Ores {E74C3C}(%d/%d)", Vehicle_LoadedOres(vehicleid), VEHICLE_LIMIT);
ShowPlayerDialog(playerid, DIALOG_ORE_INFO, DIALOG_STYLE_TABLIST_HEADERS, title, string, "Close", "");
}
else if(!strcmp(params, "take"))
{
if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You can't do this in a vehicle.");
if(MiningVein[playerid] != -1) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're already mining.");
if(CarryingOre[playerid] != -1) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're already carrying an ore.");
new id = GetNearestVehicleEx(playerid);
if(!IsValidVehicle(id)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're not near any vehicle.");
if(!Vehicle_IsMiningVehicle(id)) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}Vehicle isn't a mining vehicle.");
new Float: x, Float: y, Float: z;
GetVehicleBoot(id, x, y, z);
if(GetPlayerDistanceFromPoint(playerid, x, y, z) > 3.0) return SendClientMessage(playerid, 0xE74C3CFF, "ERROR: {FFFFFF}You're not near the vehicle's back.");
new string[196], title[32];
format(string, sizeof(string), "Name\tAmount\n");
for(new i; i < MAX_ORE_TYPES; i++) format(string, sizeof(string), "%s%s\t%d\n", string, OreData[i][Name], LoadedOres[id][i]);
format(title, sizeof(title), "Loaded Ores {E74C3C}(%d/%d)", Vehicle_LoadedOres(id), VEHICLE_LIMIT);
ShowPlayerDialog(playerid, DIALOG_ORE_TAKE, DIALOG_STYLE_TABLIST_HEADERS, title, string, "Take", "Close");
}
return 1;
}
Can you please help me to resolve it? Thx.
Re: Mining -
Misterenas - 07.01.2017
nice, where i can get evf include?
Re: Mining -
AbyssMorgan - 07.01.2017
Quote:
Originally Posted by Misterenas
nice, where i can get evf include?
|
New EVF
Thread download
EVF.inc
Re: Mining -
Misterenas - 08.01.2017
Quote:
Originally Posted by AbyssMorgan
|
and where i can get progress2.inc and izcmd.inc?
and one more question, where i should put them? gamemodes>pawno>includes or somewhere else

?
Re: Mining -
Yaa - 08.01.2017
Quote:
Originally Posted by Misterenas
and where i can get progress2.inc and izcmd.inc?
and one more question, where i should put them? gamemodes>pawno>includes or somewhere else  ?
|
find them on mr.****** also yes in that place
Re: Mining -
Misterenas - 08.01.2017
\pawno\include\evf.inc(89) : fatal error 111: user error: [ADM] This include requires SA:MP version 0.3.7
how i can fix this?
my version is 0.3.7, so what the hell?
Re: Mining -
Dignity - 08.01.2017
Quote:
Originally Posted by Misterenas
\pawno\include\evf.inc(89) : fatal error 111: user error: [ADM] This include requires SA:MP version 0.3.7
how i can fix this?
my version is 0.3.7, so what the hell?
|
Replace your includes with the includes from the 0.3.7 server package.
Re: Mining -
AbyssMorgan - 08.01.2017
Quote:
Originally Posted by Misterenas
\pawno\include\evf.inc(89) : fatal error 111: user error: [ADM] This include requires SA:MP version 0.3.7
how i can fix this?
my version is 0.3.7, so what the hell?
|
You need update
a_samp.inc
Re: Mining -
Misterenas - 08.01.2017
Quote:
Originally Posted by AbyssMorgan
|
but now new error
pawno\include\a_samp.inc(30) : fatal error 100: cannot read from file: "a_actor"
Re: Mining -
AbyssMorgan - 08.01.2017
https://github.com/AbyssMorgan/SA-MP...de/a_actor.inc
Re: Mining -
Misterenas - 08.01.2017
Quote:
Originally Posted by AbyssMorgan
|
after all includes, now i have these errors:
error 017: undefined symbol "IsValidVehicle"
: error 017: undefined symbol "IsValidVehicle"
error 017: undefined symbol "IsValidVehicle"
error 017: undefined symbol "IsValidVehicle"
error 017: undefined symbol "GetVehicleBoot"
error 017: undefined symbol "GetVehicleInterior"
error 017: undefined symbol "IsValidVehicle"
error 017: undefined symbol "GetVehicleBoot"
error 017: undefined symbol "IsValidVehicle"
error 017: undefined symbol "IsValidVehicle"
error 017: undefined symbol "GetVehicleBoot"
error 017: undefined symbol "GetVehicleBoot"
error 017: undefined symbol "GetVehicleBoot"
Re: Mining -
Gardener - 24.11.2017
AbyssMorgan "#include <SAM/EVF> " I type this but it gives error "/" not acceptable. I have set it to evf.
I did update all includes from AbyssMorgan's website and errors have reduced to these:
filterscripts\mine.pwn(242) : error 017: undefined symbol "GetVehicleBoot"
filterscripts\mine.pwn(351) : warning 202: number of arguments does not match definition
filterscripts\mine.pwn(479) : error 017: undefined symbol "GetVehicleBoot"
filterscripts\mine.pwn(510) : error 017: undefined symbol "GetVehicleBoot"
filterscripts\mine.pwn(540) : error 017: undefined symbol "GetVehicleBoot"
filterscripts\mine.pwn(566) : error 017: undefined symbol "GetVehicleBoot"
Pawn compiler 3.2.3664
5 Errors.
I am just trying to find some job where I can load ANYTHING on boat then through sea dock on another land, take out what I had mined and walk to red marker or anything to get money. Will this mine job work for a boat?
EDIT: Finally I solved my problem, actually I looked into evf.inc and it turned out AbyssMorgan has excluded "GetVehicleBoot". I found another evf.inc that has "GetVehicleBoot" and my errors solved.