[Help] Mysql check
#1

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

No one who has a solution or can explain what to use?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)