OnPlayerUseGarage samp
#1

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 :/
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)