Zeex / sampgdk

Write SA-MP gamemodes in C/C++

Home Page:http://zeex.github.io/sampgdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo (badref) in a_samp OnVehicleRespray

ikkentim opened this issue · comments

https://github.com/Zeex/sampgdk/blob/master/lib/sampgdk/a_samp.idl#L552

I was looking for a simple list of sa:mp callbacks and thought I would borrow sampgdk's one. I noticed on line 552 it says badref instead of badret. I can't find any handling for badref, is this a typo?

[callback, badref(false)] bool OnVehicleRespray(int playerid, int vehicleid, int color1, int color2);
commented

Yep, it's a typo. Fixed it, thanks.