Posts: 35
Threads: 0
Joined: May 2014
Reputation:
0
1- download and add a_player.inc to pawno/include
2- if(IsPlayerInRangeOfPoint(playerid, 15.0, 552.46143, 1660.90344, herree the Z postion ))
Posts: 766
Threads: 66
Joined: Feb 2014
Reputation:
0
Where are you using "RemoveBuildingForPlayer"?
Posts: 556
Threads: 17
Joined: Mar 2014
Reputation:
0
RemoveBuildingForPlayer should be Under OnPlayerConnect.
Also, make sure you got the a_players.inc file in your Includes folder in Pawn folder.
if(IsPlayerInRangeOfPoint(playerid, X, Y, Z)); there's no need to enter 0.25 there.
Posts: 766
Threads: 66
Joined: Feb 2014
Reputation:
0
Seriously, I'm asking the place where you're using it. (OnPlayerConnect or someother?)
EDIT:
Saw the above post:
You're totally wrong. You can't use RemoveBuildingForPlayer inside OnGameModeInit. Seriously..
You have to use RemoveBuildingForPlayer codes inside OnPlayerConnect
Posts: 1,839
Threads: 136
Joined: Aug 2012
Reputation:
0
EDIT: RemoveBuildingForPlayer is fixed now with playerid the gates
Posts: 1,839
Threads: 136
Joined: Aug 2012
Reputation:
0
help somebody about the gates
Posts: 766
Threads: 66
Joined: Feb 2014
Reputation:
0
Posting a few lines would be good..