20.07.2012, 18:19
The errors
The code
Please helpme i dont see the problem
Код:
C:\Users\josh\Desktop\Newtrinity\filterscripts\flare.pwn(17) : error 017: undefined symbol "PreloadAnimLib" C:\Users\josh\Desktop\Newtrinity\filterscripts\flare.pwn(90) : error 029: invalid expression, assumed zero C:\Users\josh\Desktop\Newtrinity\filterscripts\flare.pwn(92) : error 001: expected token: ";", but found "new" C:\Users\josh\Desktop\Newtrinity\filterscripts\flare.pwn(97) : error 017: undefined symbol "OnePlayAnim" C:\Users\josh\Desktop\Newtrinity\filterscripts\flare.pwn(98) : error 017: undefined symbol "X"
Код:
if (strcmp("/placeflare", cmdtext, true, 10) == 0) } DestroyObject(flare) new Float:x; new Float:y; new Float:z; new Float:a; GetPlayerPos(playerid, x,y,z); GetPlayerFacingAngle(playerid, a); OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); // Place Bomb flare = CreateObject(18728, X, Y, Z, 0.00, 0.00, 0.00); return 1; }