15.01.2011, 14:11
format(Primary[playerid], sizeof(Primary[playerid]), "M4A1");
why the **** is this not working, on top of the script:
new Primary[MAX_PLAYERS][25];
It is for my shop, to show textdraws. If I use a normal format, it shows the textdraw for all with the same text, this is not right. It should only show the text for the player. It is for making custom classes.
Код:
C:\Users\Timothy\Desktop\0.3c rc8\gamemodes\CODVIIItest.pwn(3423) : error 001: expected token: "]", but found "-identifier-" C:\Users\Timothy\Desktop\0.3c rc8\gamemodes\CODVIIItest.pwn(3423) : warning 215: expression has no effect C:\Users\Timothy\Desktop\0.3c rc8\gamemodes\CODVIIItest.pwn(3423) : error 001: expected token: ";", but found "]" C:\Users\Timothy\Desktop\0.3c rc8\gamemodes\CODVIIItest.pwn(3423) : error 029: invalid expression, assumed zero C:\Users\Timothy\Desktop\0.3c rc8\gamemodes\CODVIIItest.pwn(3423) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
new Primary[MAX_PLAYERS][25];
It is for my shop, to show textdraws. If I use a normal format, it shows the textdraw for all with the same text, this is not right. It should only show the text for the player. It is for making custom classes.