Help - About AutoMessage - - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help - About AutoMessage - (
/showthread.php?tid=471480)
Help - About AutoMessage - -
DouglasRamirez - 23.10.2013
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.
Re: Help - About AutoMessage - -
Misiur - 23.10.2013
Why won't just just read the errors?
There already is function/variable with label AutoMessage, just search for it.
Re: Help - About AutoMessage - -
DouglasRamirez - 23.10.2013
CTRL+F > AutoMessage?