1 Error in different Script need help
#1

Код:
C:\Users\Matt\Desktop\AutoGate.pwn(20) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
line
Код:
if(IsPlayerInRangeOfPoint(playerid, 15.0, 552.46143, 1660.90344))
Reply
#2

1- download and add a_player.inc to pawno/include
2- if(IsPlayerInRangeOfPoint(playerid, 15.0, 552.46143, 1660.90344, herree the Z postion ))
Reply
#3

still no works
Reply
#4

Where are you using "RemoveBuildingForPlayer"?
Reply
#5

Quote:
Originally Posted by biker122
Посмотреть сообщение
Where are you using "RemoveBuildingForPlayer"?
for building
Reply
#6

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.
Reply
#7

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
Reply
#8

EDIT: RemoveBuildingForPlayer is fixed now with playerid the gates
Reply
#9

help somebody about the gates
Reply
#10

Posting a few lines would be good..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)