18.07.2016, 07:36
[Include] New SA-MP callbacks!
18.07.2016, 07:41
Of course no, you said your server crashing because of this include, that never happened to me so I wanted to know what's happening or causing such crash..
18.07.2016, 11:36
18.07.2016, 13:03
29.03.2017, 00:27
Quote:
Code examples
pawn Код:
|
pawn Код:
public OnPlayerUseGarage(playerid, vehicleid, type)
{
if(type == GARAGE_PAYNSPRAY)
{
SendClientMessage(playerid, COLOR_WHITE, "You have been charged $100 for respraying your vehicle.");
PlayerInfo[playerid][pMoney] -= 100;
}
else if(type == GARAGE_BOMBSHOP)
{
SendClientMessage(playerid, COLOR_WHITE, "You have been charged $500 for using the bomb shop.");
PlayerInfo[playerid][pMoney] -= 500;
}
return 1;
}
24.05.2017, 17:01
please help
Код:
return CB_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart); // callbacks.inc(1103) : warning 202: number of arguments does not match definition forward CB_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart); // callbacks.inc(1331) : error 025: function heading differs from prototype
24.05.2017, 17:41
Quote:
please help
Код:
return CB_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart); // callbacks.inc(1103) : warning 202: number of arguments does not match definition forward CB_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart); // callbacks.inc(1331) : error 025: function heading differs from prototype |
24.05.2017, 17:44
24.05.2017, 18:33
Quote:
please help
Код:
return CB_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart); // callbacks.inc(1103) : warning 202: number of arguments does not match definition forward CB_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart); // callbacks.inc(1331) : error 025: function heading differs from prototype |
24.05.2017, 18:41
24.05.2017, 19:10
24.05.2017, 21:48
My guess is that its a bit outdated, i will check it later (unless i forget) but it should work with 0.3.7 if functions are updated (missing arguments are added)
EDIT: Just checked include, it compiles fine, examples filterscript is a bit outdated from include, but include is up to date for 0.3.7 from what i can see. Im to lazy to test it in game, but if it compiles it should work since Emmet knew what he was doing.
EDIT: Just checked include, it compiles fine, examples filterscript is a bit outdated from include, but include is up to date for 0.3.7 from what i can see. Im to lazy to test it in game, but if it compiles it should work since Emmet knew what he was doing.
24.05.2017, 22:38
Quote:
My guess is that its a bit outdated, i will check it later (unless i forget) but it should work with 0.3.7 if functions are updated (missing arguments are added)
EDIT: Just checked include, it compiles fine, examples filterscript is a bit outdated from include, but include is up to date for 0.3.7 from what i can see. Im to lazy to test it in game, but if it compiles it should work since Emmet knew what he was doing. |
25.05.2017, 04:09
25.05.2017, 07:29
« Next Oldest | Next Newest »
Users browsing this thread: 5 Guest(s)