[Help] Mysql check - 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: [Help] Mysql check (
/showthread.php?tid=327160)
[Help] Mysql check -
VMe89 - 20.03.2012
Hello!
I wonder how to load all the stores from the database to a IsPlayerInRangeOfPoint. Want it to check if a player is close to a store that is in the database. If they writes "/ buy" it should then check if the user is at a store or not with a "CheckIfUserIsnearAStore ()".
Someting like this:
Код:
if (CheckIfUserIsnearAStore (playerid))
{
SendClientMessage(playerid, COLOR_GREEN, "You are in a business that is stored in the mysql database");
}
I use this gamemode:
https://sampforum.blast.hk/showthread.php?tid=285755
Best regards, Tomas
Re: [Help] Mysql check -
VMe89 - 20.03.2012
No one who has a solution or can explain what to use?