[HELP] Please help it's urgent
#1

Hello this morning is mod work just fine compile and all of that and I add just one stock and these erros are appear

pawn Код:
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_amx.inc(391) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_amx.inc(440) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_amx.inc(661) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_hooks/impl.inc(225) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_inline.inc(260) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_inline.inc(678) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(837) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(957) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(1030) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(1051) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(1070) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(1092) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(1124) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(1160) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(1188) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_ini.inc(1344) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_iterate.inc(1015) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_iterate.inc(1082) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_iterate.inc(1116) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_iterate.inc(1139) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\YSI\y_iterate.inc(1193) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\sscanf2.inc(151) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\utils.inc(51) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\utils.inc(52) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\dutils.inc(318) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\dutils.inc(337) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\pawno\include\dutils.inc(355) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6183) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6200) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6217) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6234) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6251) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6268) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6285) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6302) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6319) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6336) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6353) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6370) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6387) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6404) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6421) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6439) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6465) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6490) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6511) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6558) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6589) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6608) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6635) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(6675) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(7824) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(7893) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(7946) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(7997) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(11646) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(14757) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(20998) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25011) : warning 209: function "S@@_OnPlayerStateChange" should return a value
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25012) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25014) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25016) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25018) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25026) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25028) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25030) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25034) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25038) : error 021: symbol already defined: "SCMF"
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25039) : error 021: symbol already defined: "NovacPlus"
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25046) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25048) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25050) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25056) : error 021: symbol already defined: "NovacPlus"
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25056) : warning 215: expression has no effect
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25056) : error 001: expected token: ";", but found ")"
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25067) : error 054: unmatched closing brace ("}")
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25068) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25070) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25072) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25078) : error 021: symbol already defined: "NovacMinus"
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25089) : error 054: unmatched closing brace ("}")
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25093) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25096) : error 021: symbol already defined: "GetPlayerName"
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25097) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25099) : error 010: invalid function or declaration
C:\Users\Barcelona\Desktop\GURP 0.3x v2.9.4 NOVO!!!\gamemodes\GURPv2.9.3.pwn(25101) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
Reply
#2

you are missing brackets and you are not closing them right/...

pawn Код:
error 054: unmatched closing brace ("}")
Reply
#3

xd read what I write I just inster one stock mod is before that compile perfect and I add stock and compile and then these errors are appear
Reply
#4

send / show us the stocks full code so we can see if your missing brackets etc in the stock.
Reply
#5

yes and I delete now stoock to see if that cause the problem and know the errors are stay I don't know I just put that one stock and that is problem are begine this morning everything was perfect working till that stock
Reply
#6

Show us that stock and where did you add it.
Reply
#7

pawn Код:
stock SetPlayerPos_H(playerid, Float:X, Float:Y, Float:Z)
{
    if(!IsPlayerConnected(playerid)) return 1;
    TeleportDozvoljen[playerid] = 1;
    LoadPosition[playerid] = 3;
    SetPlayerPos_H(playerid, X, Y, Z);
    GetPlayerPos(playerid, GP[playerid][gpX], GP[playerid][gpY], GP[playerid][gpZ]);
    TeleportDozvoljen[playerid] = 0;
    return 1;
}
I put that stock with my other stock's
Reply
#8

I hope you added it out of any other. Also if it's about using it, you'll need to declare the variables it uses.

Alright, you're missing bracket(s) close at line 25012.

Does OnPlayerStateChange close the bracket? It says it needs to return a value and it might not close the bracket as well.

Make sure it is like:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    // code
    return 1; // <--
} // <--
About the name and count. If something has been declared (let's say) as global variable and you re-declare it as a local that warning will be given. It's from the includes too so you'll need to change the name and count from your mode to another name. Don't forget to change the rest too.
Reply
#9

but have you don't get it everything is working and I opet the script and added that stock and then that errors appear
Reply
#10

Because the stock got you errors when you are doing something wrong.. check the code of yours where stock issued.. and that could be your answer..
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)