21.01.2018, 06:54
I want to add a message for the server but why the error? please help me
PHP CODE :
Errors getting
PHP Code:
PHP CODE :
Код:
public ServerMessage() { TextDrawSetString(RandomBox1, Textdraws[random(sizeof(Textdraws))]); return 1; ) public SendAdminMessage(color, string[]) {
PHP Code:
Код:
C:\Documents and Settings\Administrator\My Documents\Downloads\GGRP\gamemodes\Roleplay.pwn(3967) : error 079: inconsistent return types (array & non-array) C:\Documents and Settings\Administrator\My Documents\Downloads\GGRP\gamemodes\Roleplay.pwn(3968) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\My Documents\Downloads\GGRP\gamemodes\Roleplay.pwn(3968 -- 3969) : warning 215: expression has no effect C:\Documents and Settings\Administrator\My Documents\Downloads\GGRP\gamemodes\Roleplay.pwn(3969) : error 001: expected token: ";", but found "public" C:\Documents and Settings\Administrator\My Documents\Downloads\GGRP\gamemodes\Roleplay.pwn(3969) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\My Documents\Downloads\GGRP\gamemodes\Roleplay.pwn(3969) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.