SA-MP Forums Archive
OnPlayerUseGarage samp - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerUseGarage samp (/showthread.php?tid=656594)



OnPlayerUseGarage samp - NexyAG - 19.07.2018

So, i'm using emmet's include (new samp callbacks), and this functions does not work at all for me
Код HTML:
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 :/


Re: OnPlayerUseGarage samp - DAKYSKYE - 19.07.2018

Quote:
Originally Posted by NexyAG
Посмотреть сообщение
So, i'm using emmet's include (new samp callbacks), and this functions does not work at all for me
Код HTML:
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.