Sziasztok
Csináltam egy fegyver mentõ kódot, de valamiért erroros, és nem tudom megérteni, hogy miért
enum p_Params
{
...,
weapdata[13][2]
};
GetPlayerWeaponData(playerid, i, pParams[weapdata][0], pParams[weapdata][2]);
erre:
C:\\Users\\DD\\Desktop\\Zinthoserver170\\gamemodes\\zinthoserver2.pwn(492) : error 001: expected token: \"}\", but found \"[\"
C:\\Users\\DD\\Desktop\\Zinthoserver170\\gamemodes\\zinthoserver2.pwn(493) : error 010: invalid function or declaration
C:\\Users\\DD\\Desktop\\Zinthoserver170\\gamemodes\\zinthoserver2.pwn(1338) : warning 213: tag mismatch
C:\\Users\\DD\\Desktop\\Zinthoserver170\\gamemodes\\zinthoserver2.pwn(1338) : error 001: expected token: \",\", but found \"[\"
C:\\Users\\DD\\Desktop\\Zinthoserver170\\gamemodes\\zinthoserver2.pwn(1338) : error 029: invalid expression, assumed zero
C:\\Users\\DD\\Desktop\\Zinthoserver170\\gamemodes\\zinthoserver2.pwn(1338) : warning 215: expression has no effect
C:\\Users\\DD\\Desktop\\Zinthoserver170\\gamemodes\\zinthoserver2.pwn(1338) : error 001: expected token: \";\", but found \"]\"
C:\\Users\\DD\\Desktop\\Zinthoserver170\\gamemodes\\zinthoserver2.pwn(1338) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Help