Help - About AutoMessage -
#1

I copied everything from other script to my script - AUTO MESSAGE -

Then got this error
Код:
C:\Users\Douglas\Desktop\Files\[0.3x]Razer Roleplay\gamemodes\RZRP.pwn(5136) : error 021: symbol already defined: "AutoMessage"
C:\Users\Douglas\Desktop\Files\[0.3x]Razer Roleplay\gamemodes\RZRP.pwn(55288) : warning 219: local variable "object" shadows a variable at a preceding level
C:\Users\Douglas\Desktop\Files\[0.3x]Razer Roleplay\gamemodes\RZRP.pwn(97061) : warning 203: symbol is never used: "RGRP"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Line : ------------------ DOWN --------------------

pawn Код:
forward AutoMessage();
public AutoMessage(){
    new string[128];
    format(string, sizeof(string), "{FF0000}[SERVER]{FFFFFF} %s", AutoMessages[random(sizeof(AutoMessages))]);
    SendClientMessageToAll(COLOR_AUTOMESSAGE, string);
    return 1;
Please me help asap.
Reply
#2

Why won't just just read the errors?

pawn Код:
symbol already defined
There already is function/variable with label AutoMessage, just search for it.
Reply
#3

CTRL+F > AutoMessage?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)