29.05.2013, 17:57
Code:
Errors:
pawn Код:
stock SendServerMessage(PlayerID,Message[])
{
new Size = sizeof(Message);
new TheMessage[Size];
format(TheMessage,Size,"[SERVER]{FFFFFF} %s",Message);
SendClientMessage(PlayerID,SexyBlue,TheMessage);
}
Код:
C:\Users\S0n1C\Desktop\UA-CNR\gamemodes\UACNR.pwn(683) : warning 224: indeterminate array size in "sizeof" expression (symbol "") C:\Users\S0n1C\Desktop\UA-CNR\gamemodes\UACNR.pwn(684) : error 008: must be a constant expression; assumed zero C:\Users\S0n1C\Desktop\UA-CNR\gamemodes\UACNR.pwn(684) : error 009: invalid array size (negative, zero or out of bounds) C:\Users\S0n1C\Desktop\UA-CNR\gamemodes\UACNR.pwn(684) : error 036: empty statement C:\Users\S0n1C\Desktop\UA-CNR\gamemodes\UACNR.pwn(684) : fatal error 107: too many error messages on one line