A few Errors on my Server, (To Do with PlayertoPoint)
#6

You're doing it wrong.

You're having:

pawn Код:
if PlayerToPoint(2116.6833,2416.7131,49.5234);
The symbol ';' is used for functions like SendClientMessage, not for checking things like 'if(IsPlayerAdmin(playerid))'

The function PlayerToPoint is:

pawn Код:
PlayerToPoint(Float:radi,playerid,Float:x,Float:y,Float:z;)
You're only filling in the 'X', the 'Y' and the 'Z', not the radius and the playerid.

Try this for example:
pawn Код:
if(PlayerToPoint(10,playerid2116.6833,2416.7131,49.5234))
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)