04.11.2010, 18:34
I included the callbacks bellow
public OnPlayerShotVehicle(playerid, vehicleid);
{ //your code here
return 1;
}
public OnPlayerUnShotVehicle(playerid, vehicleid);
{ //your code here
return 1;
}
but i meet the same problem
H:\backup\samp03bsvr_R2_win32\pawno\include\YSI/y_hooks.inc(1494) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterCheckpoint")
H:\backup\samp03bsvr_R2_win32\pawno\include\YSI/y_hooks.inc(152 : warning 201: redefinition of constant/macro (symbol "OnPlayerLeaveCheckpoint")
H:\backup\samp03bsvr_R2_win32\pawno\include\YSI/y_hooks.inc(2072) : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(54) : error 004: function "OnPlayerUnShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(8 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(9 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(10 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(11 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(12 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (85) : error 021: symbol already defined: "FALSE"
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (1109) : error 021: symbol already defined: "Timer"
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (17163) : error 035: argument type mismatch (argument 1)
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (23795) : error 033: array must be indexed (variable "Timer")
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101506) : error 021: symbol already defined: "GetDistanceToCar"
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101605) : error 055: start of function body without function header
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101606) : error 010: invalid function or declaration
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101609) : error 055: start of function body without function header
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101610) : error 010: invalid function or declaration
what can be the problem? please if anyone can help me i will be gratefull
public OnPlayerShotVehicle(playerid, vehicleid);
{ //your code here
return 1;
}
public OnPlayerUnShotVehicle(playerid, vehicleid);
{ //your code here
return 1;
}
but i meet the same problem
H:\backup\samp03bsvr_R2_win32\pawno\include\YSI/y_hooks.inc(1494) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterCheckpoint")
H:\backup\samp03bsvr_R2_win32\pawno\include\YSI/y_hooks.inc(152 : warning 201: redefinition of constant/macro (symbol "OnPlayerLeaveCheckpoint")
H:\backup\samp03bsvr_R2_win32\pawno\include\YSI/y_hooks.inc(2072) : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(54) : error 004: function "OnPlayerUnShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(8 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(9 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(10 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(11 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\pawno\include\Damage .inc(12 : error 004: function "OnPlayerShotVehicle" is not implemented
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (85) : error 021: symbol already defined: "FALSE"
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (1109) : error 021: symbol already defined: "Timer"
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (17163) : error 035: argument type mismatch (argument 1)
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (23795) : error 033: array must be indexed (variable "Timer")
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101506) : error 021: symbol already defined: "GetDistanceToCar"
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101605) : error 055: start of function body without function header
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101606) : error 010: invalid function or declaration
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101609) : error 055: start of function body without function header
H:\backup\samp03bsvr_R2_win32\gamemodes\xrp187.PWN (101610) : error 010: invalid function or declaration
what can be the problem? please if anyone can help me i will be gratefull