Üdv, ma ZeRo tutoriálját olvasva meg próbáltam alkalmazni is..
de egybõl errorokba ütköztem
Kód:
main ()
{
state Cashboxstate: Off;
pickup1 = CreatePickup( 1238, 1,2509.2007,-1669.0903,13.3857);
pickup2 = CreatePickup( 1238, 1,-1975.6680,287.7763,35.1719);
pickup3 = CreatePickup( 1238, 1,2342.1516,1390.7366,42.8203);
pickup4 = CreatePickup( 1238, 1,407.1512,2456.4746,16.5000);
pickup5 = CreatePickup( 1238, 1,-2643.3367,1373.2704,7.1570);
}
new pickup1,pickup2,pickup3,pickup4,pickup5;
eddig csináltam de ezeket az errorokat kaptam:
C:\\DOCUME~1\\x\\DOKUME~1\\LETLTS~1\\Fun.pwn(20) : error 086: unknown automaton \"Cashboxstate\"
C:\\DOCUME~1\\x\\DOKUME~1\\LETLTS~1\\Fun.pwn(20) : error 036: empty statement
C:\\DOCUME~1\\x\\DOKUME~1\\LETLTS~1\\Fun.pwn(21) : error 017: undefined symbol \"pickup1\"
C:\\DOCUME~1\\x\\DOKUME~1\\LETLTS~1\\Fun.pwn(22) : error 017: undefined symbol \"pickup2\"
C:\\DOCUME~1\\x\\DOKUME~1\\LETLTS~1\\Fun.pwn(23) : error 017: undefined symbol \"pickup3\"
C:\\DOCUME~1\\x\\DOKUME~1\\LETLTS~1\\Fun.pwn(24) : error 017: undefined symbol \"pickup4\"
C:\\DOCUME~1\\x\\DOKUME~1\\LETLTS~1\\Fun.pwn(25) : error 017: undefined symbol \"pickup5\"
[/quote]