14.04.2009, 04:06
Actually, i add this to my script...
And this is the problem in "Pawn compiler"...
What i need to do to fix that problem?
Thanks!
Код:
if(strcmp(cmdtext, "/roadblock", true)==0) { new Float:X, Float:Y, Float:Z, Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); CreateObject(981, X, Y, Z, 0.0, 0.0, A); SendClientMessage(playerid, COLOR_GREEN, "RoadBlock Successfully Deployed"); return 1; }
Код:
C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1899) : warning 219: local variable "X" shadows a variable at a preceding level C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1899) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1899) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1900) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1902) : warning 213: tag mismatch C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1902) : warning 213: tag mismatch C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1902) : warning 213: tag mismatch C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1904) : warning 217: loose indentation C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1899) : warning 203: symbol is never used: "Z" C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1899) : warning 203: symbol is never used: "Y" C:\Documents and Settings\аййм\щемзп дтбегд\ъйчйд згщд\Top Secret!\pawno\ъйчйд згщд\crp.pwn(1899) : warning 203: symbol is never used: "X" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Thanks!