05.03.2011, 14:08
Hey, converted my MTA file to a the .pwn CODE
How do i add it in? please tell me...
How do i add it in? please tell me...
C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(3) : warning 235: public function lacks forward declaration (symbol "OnGameModelNit") C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(5) : error 021: symbol already defined: "CreateObject" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
public OnGameModeInit()
{
CreateObject(MODEL, X, Y, Z, RX, RY, RZ);//Change to your own coords ofcourse
return 1;
}
I made a new .pwn and i compiled it and got this,.
Код:
C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(3) : warning 235: public function lacks forward declaration (symbol "OnGameModelNit") C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(5) : error 021: symbol already defined: "CreateObject" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(1) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit") C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(3) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(4) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(5) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(6) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(7) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(8) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(9) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(10) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(11) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(12) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(13) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(14) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(15) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(16) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(17) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(18) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(19) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(20) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(21) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(22) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(23) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(24) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(25) : error 017: undefined symbol "CreateObject" C:\Users\Daniel\Desktop\Server\filterscripts\maxips.pwn(26) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 23 Errors.
#include <a_samp>