Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

doubt (++rep)

$
0
0
hai all
i have a doubt
i am currently working with a /myhouses command.
it should actually give a dialog showing the houses owned by the player
so how can i do it ?
i am using mysql r39-2
so i have stuck with this
PHP Code:

new query[200],cache:houses;
format(query,sizeof(query),select houseid where owner = %s,getplayername(playerid));
houses=....... 

and how to do the remaining like getting the houseid and saving.
can we do with sscanf ?
i am new with mysql r39..

thanks in advance.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>