Need Help
#1

Hello guys, i eed help, i think maybe i am a noob lol, i tryed to replace playertopoint by Isplayerrangeofpoint

and herre is the result :/


Код:
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(9609) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(9609) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(9609) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(17697) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(29807) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(29807) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(29807) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(29862) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(29862) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(29862) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(32458) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(32458) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(32458) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48720) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48720) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48720) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48721) : warning 219: local variable "tempposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48721) : warning 219: local variable "tempposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48721) : warning 219: local variable "tempposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48771) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48771) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48771) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48772) : warning 219: local variable "tempposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48772) : warning 219: local variable "tempposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48790) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48790) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48790) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48791) : warning 219: local variable "tempposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48791) : warning 219: local variable "tempposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48791) : warning 219: local variable "tempposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48807) : error 021: symbol already defined: "IsPlayerInRangeOfPoint"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48809) : error 010: invalid function or declaration
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48813) : error 021: symbol already defined: "GetPlayerPos"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48818) : error 010: invalid function or declaration
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48820) : error 010: invalid function or declaration
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48823) : error 010: invalid function or declaration
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48830) : warning 219: local variable "tempposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48830) : warning 219: local variable "tempposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48830) : warning 219: local variable "tempposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48843) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48843) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48843) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48844) : warning 219: local variable "tempposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48844) : warning 219: local variable "tempposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48844) : warning 219: local variable "tempposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48860) : warning 219: local variable "oldposx" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48860) : warning 219: local variable "oldposy" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(48860) : warning 219: local variable "oldposz" shadows a variable at a preceding level
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49120) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49137) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49153) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49164) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49176) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49188) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49254) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49267) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49280) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49293) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49306) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(49319) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(52717) : warning 213: tag mismatch
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(54393) : warning 203: symbol is never used: "ConsumingMoney"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(54346) : warning 204: symbol is assigned a value that is never used: "braquagestatus24"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(54346 -- 54393) : warning 203: symbol is never used: "oldposx"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(54346 -- 54393) : warning 203: symbol is never used: "oldposy"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(54346 -- 54393) : warning 203: symbol is never used: "oldposz"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(54346 -- 54393) : warning 203: symbol is never used: "tempposx"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(54346 -- 54393) : warning 203: symbol is never used: "tempposy"
C:\Documents and Settings\Propriйtaire\Bureau\serveur samp\LARP\Bon serv\gamemodes\CDC6.pwn(54346 -- 54393) : warning 203: symbol is never used: "tempposz"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Please help me
Reply
#2

You clearly did something wrong :P
Remember that the parameters of PlaterToPoint aren't the same as IsPlayerInRangeOfPoint
PlayerToPoint(Float:radius,playerid,Float,Float:y,Float:z);
IsPlayerInRangeOfPoint(playerid,Float:radius,Float,Float:y,Float:z);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)