07.04.2010, 20:02
Hey you all lovely peoples.
I have been playing around with several kind of combinations of codes, but i just can't seem to get this to work.
Everything looks right for me, but nothing happens when i'm in the area.
I currently have this, but doesn't work either.
It compiles though.
Can anybody tell me what i am doing wrong? Thanks
I have been playing around with several kind of combinations of codes, but i just can't seem to get this to work.
Everything looks right for me, but nothing happens when i'm in the area.
I currently have this, but doesn't work either.
Код:
forward IsAtScrapyard(playerid); public IsAtScrapyard(playerid) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid,x, y, z); if(IsPlayerInRangeOfPoint(playerid,5,-1210.7212,-1061.7201,128.2656)) SendClientMessage(playerid,COLOR_YELLOW, "Type /buyscrapticket to enter the scrapyard."); return 1; }
Can anybody tell me what i am doing wrong? Thanks