Megaphone help -
kevi11 - 10.03.2016
This is gamemode/without script:
http://pastebin.com/FPVmbamp
This is error: C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(19) : warning 201: redefinition of constant/macro (symbol "COLOR_RED")
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(71) : warning 217: loose indentation
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(74) : warning 219: local variable "soundid" shadows a variable at a preceding level
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(74) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(74) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(74 -- 76) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(74 -- 76) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Guys pls help me ty.!
Re: Megaphone help - Whoo - 10.03.2016
warning 217: loose indentation =
http://tabulador.medianewsonline.com/
warning 201: redefinition of constant/macro (symbol "COLOR_RED") = you set 2 red color with the same name
PHP код:
stock PlaySoundEx(soundid, Float:x, Float:y, Float:z, range)
{
foreach(new i : Player)
{
if(!IsPlayerConnected(i)) continue;
if(!IsPlayerInRangeOfPoint(i, range, x, y, z)) continue;
PlayerPlaySound(i, soundid, 0, 0, 0);
}
return 1;
}
Re: Megaphone help -
kevi11 - 10.03.2016
Ok now: this error: C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(72) : warning 219: local variable "soundid" shadows a variable at a preceding level
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(72) : error 001: expected token: ")", but found "-identifier-"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(72) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(72 -- 74) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(72 -- 74) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Re: Megaphone help - Whoo - 10.03.2016
send the line 71-76
pawn Код:
stock PlaySoundEx(soundid, Float:x, Float:y, Float:z, range)
{
foreach( Player , i)
{
if(!IsPlayerConnected(i)) continue;
if(!IsPlayerInRangeOfPoint(i, range, x, y, z)) continue;
PlayerPlaySound(i, soundid, 0, 0, 0);
}
return 1;
}
Re: Megaphone help -
kevi11 - 10.03.2016
stock PlaySoundEx(soundid, Float
, Float:y, Float:z range)
{
foreach(new i : Player)
{
if(!IsPlayerConnected(i)) continue;
if(!IsPlayerInRangeOfPoint(i, range, x, y, z)) continue;
Re: Megaphone help - Whoo - 10.03.2016
Quote:
Originally Posted by kevi11
stock PlaySoundEx(soundid, Float , Float:y, Float:z range)
{
foreach(new i : Player)
{
if(!IsPlayerConnected(i)) continue;
if(!IsPlayerInRangeOfPoint(i, range, x, y, z)) continue;
|
PHP код:
stock PlaySoundEx(soundid, Float, Float:y, Float:z, range)
{
foreach(Player, i)
{
if(!IsPlayerConnected(i)) continue;
if(!IsPlayerInRangeOfPoint(i, range, x, y, z)) continue;
PlayerPlaySound(i, soundid, 0, 0, 0);
}
return 1;
}
Re: Megaphone help -
kevi11 - 10.03.2016
this error now
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(69) : warning 217: loose indentation
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(71) : warning 219: local variable "soundid" shadows a variable at a preceding level
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(71) : error 037: invalid string (possibly non-terminated string)
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(71 -- 9
: error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1027) : warning 217: loose indentation
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1029) : warning 219: local variable "tmp1" shadows a variable at a preceding level
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1035) : warning 217: loose indentation
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1492) : error 055: start of function body without function header
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1493) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1495) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1497) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1499) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1502) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1505) : error 017: undefined symbol "w1"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1505) : error 021: symbol already defined: "split"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1507) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1510) : error 021: symbol already defined: "GetPlayerPos"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1511) : error 021: symbol already defined: "PlaySoundEx"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1512) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1514) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1521) : warning 203: symbol is never used: "pos"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1521) : warning 203: symbol is never used: "soundid"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1521) : warning 203: symbol is never used: "tmp1"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1521) : warning 203: symbol is never used: "tw1"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
15 Errors.
Re: Megaphone help -
kevi11 - 10.03.2016
this error now
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(69) : warning 217: loose indentation
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(71) : warning 219: local variable "soundid" shadows a variable at a preceding level
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(71) : error 037: invalid string (possibly non-terminated string)
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(71 -- 9
: error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1027) : warning 217: loose indentation
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1029) : warning 219: local variable "tmp1" shadows a variable at a preceding level
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1035) : warning 217: loose indentation
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1492) : error 055: start of function body without function header
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1493) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1495) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1497) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1499) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1502) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1505) : error 017: undefined symbol "w1"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1505) : error 021: symbol already defined: "split"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1507) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1510) : error 021: symbol already defined: "GetPlayerPos"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1511) : error 021: symbol already defined: "PlaySoundEx"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1512) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1514) : error 010: invalid function or declaration
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1521) : warning 203: symbol is never used: "pos"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1521) : warning 203: symbol is never used: "soundid"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1521) : warning 203: symbol is never used: "tmp1"
C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(1521) : warning 203: symbol is never used: "tw1"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
15 Errors.