PDA

View Full Version : OnPlayerUseGarage samp


NexyAG
19/07/2018, 01:57 PM
So, i'm using emmet's include (new samp callbacks), and this functions does not work at all for me :D
public OnPlayerUseGarage(playerid, vehicleid, type)
{
if(type == GARAGE_PAYNSPRAY)
{
Server(playerid, "A");
GameTextForPlayer(playerid, "~r~Vozilo popravljeno...~n~~g~Naplaceno Vam je ~r~$500!", 3000, 5);
NovacMinus(playerid, 500);
}
return 1;
}
Even this "A" message won't show up :/

DAKYSKYE
19/07/2018, 06:58 PM
So, i'm using emmet's include (new samp callbacks), and this functions does not work at all for me :D
public OnPlayerUseGarage(playerid, vehicleid, type)
{
if(type == GARAGE_PAYNSPRAY)
{
Server(playerid, "A");
GameTextForPlayer(playerid, "~r~Vozilo popravljeno...~n~~g~Naplaceno Vam je ~r~$500!", 3000, 5);
NovacMinus(playerid, 500);
}
return 1;
}
Even this "A" message won't show up :/

It's about three or four years since emmet last commited on that include. So, are u sure you're doing everything well ? Check that by debugging. If debug gives you correct result, then tell me and I'll try to fix that issue.