23.07.2012, 00:56
I want to CreateObject once I pass through the radius of the IsPlayerInRangeOfPoint(playerid, 1.0, 172.67, -151.92, 1.81)) - I've tried creating the object, however I'm not doing something good:
Код:
public OnPlayerSpawn(playerid) { if(IsPlayerInRangeOfPoint(playerid, 1.0, 172.67, -151.92, 1.81)) pObject2[playerid] = CreatePlayerObject(playerid, 12923, 158.3594, -176.3047, 5.5703, 0, 0, 0, 300.0); return 1; }