12.11.2016, 16:28
hey guys i get this error
and this is the script
line 9503 is the first { under onplayerweaponshot
Код HTML:
server.pwn(9503) : error 021: symbol already defined: "OnPlayerWeaponShot"
Код HTML:
new MisiuneSpeciala[1]; function CreateMisiuneSpecialaObjects(playerid) { MisiuneSpeciala[0] = CreateObject(897, -677.68127, -2008.70105, 22.11756, 0.00000, 0.00000, 32.16000); } public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) { if(weaponid == 24) { if(hittype == BULLET_HIT_TYPE_OBJECT) { DestroyObject(MisiuneSpeciala[0]); } } return 1; }