You are not in a hospital
#1

Hello when i place a buyinsurance point

and i place it in VW 2 it say you are not in a hospital when i type /buyinsurance and i made it like this


Код:
    if(!IsAtDynamicPoint(playerid) && PlayerInfo[playerid][pVW] == 2) {
Reply
#2

Assuming this function "IsAtDynamicPoint" checks whether the player is at the right coordinates of your hospital respectively at the insurance point, then the mistake is that your checking if the player is NOT at that coords.

Код:
if(!IsAtDynamicPoint(playerid) && PlayerInfo[playerid][pVW] == 2) {
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)