Vehicle Plates
#4

Add what columns you want to retrieve in the query, for example:
Код:
SELECT owner,modelid FROM vehicles WHERE plate='%e' LIMIT 1
and if there are rows, use cache_get_field_content/cache_get_field_content_int functions to retrieve the data.

Just a side-note for sscanf. "s" specifier needs a size as "s[128]" but for single strings, use isnull + params.
Reply


Messages In This Thread
Vehicle Plates - by ThatFag - 24.10.2016, 17:08
Re: Vehicle Plates - by Skimmer - 24.10.2016, 17:30
Re: Vehicle Plates - by ThatFag - 24.10.2016, 17:40
Re: Vehicle Plates - by Konstantinos - 24.10.2016, 17:44
Re: Vehicle Plates - by Skimmer - 24.10.2016, 17:50
Re: Vehicle Plates - by ThatFag - 24.10.2016, 18:32
Re: Vehicle Plates - by Skimmer - 24.10.2016, 18:35
Re: Vehicle Plates - by ThatFag - 24.10.2016, 18:59
Re: Vehicle Plates - by Konstantinos - 24.10.2016, 19:15
Re: Vehicle Plates - by ThatFag - 24.10.2016, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)