[Help] Fixing Some Errors
#1

Код:
C:\Users\Youssef\Desktop\World of stunts v5 0.3z\pawno\include\sscanf2.inc(199) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\World of stunts v5 0.3z\pawno\include\sscanf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\World of stunts v5 0.3z\pawno\include\sscanf2.inc(305) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\World of stunts v5 0.3z\pawno\include\sscanf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\World of stunts v5 0.3z\pawno\include\sscanf2.inc(365) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\World of stunts v5 0.3z\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\World of stunts v5 0.3z\pawno\include\md5.inc(224) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\World of stunts v5 0.3z\pawno\include\md5.inc(312) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(2548) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(2570) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(2587) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(2756) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(2880) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(2887) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3212) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3237) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3267) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3282) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3297) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3312) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3327) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3342) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3357) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3372) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3387) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3402) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3432) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3546) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3577) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3612) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3660) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3705) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3745) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3787) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3807) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3824) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3894) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3901) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3927) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3952) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3952) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(3988) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4021) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4061) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4114) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4153) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4220) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4225) : error 035: argument type mismatch (argument 2)
C:\Users\Youssef\Desktop\WOS.pwn(4226) : error 035: argument type mismatch (argument 3)
C:\Users\Youssef\Desktop\WOS.pwn(4262) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4289) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4387) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4452) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4497) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4546) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4605) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4638) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4680) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4710) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4781) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4833) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4931) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(4958) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5056) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5077) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5103) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5118) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5136) : error 001: expected token: "-identifier-", but found "-integer value-"
C:\Users\Youssef\Desktop\WOS.pwn(5146) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5163) : error 001: expected token: "-identifier-", but found "-integer value-"
C:\Users\Youssef\Desktop\WOS.pwn(5164) : error 017: undefined symbol "player"
C:\Users\Youssef\Desktop\WOS.pwn(5169) : error 017: undefined symbol "player"
C:\Users\Youssef\Desktop\WOS.pwn(5171) : error 017: undefined symbol "player"
C:\Users\Youssef\Desktop\WOS.pwn(5172) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5174) : error 017: undefined symbol "player"
C:\Users\Youssef\Desktop\WOS.pwn(5175) : error 017: undefined symbol "player"
C:\Users\Youssef\Desktop\WOS.pwn(5188) : error 001: expected token: "-identifier-", but found "-integer value-"
C:\Users\Youssef\Desktop\WOS.pwn(5202) : warning 205: redundant code: constant expression is zero
C:\Users\Youssef\Desktop\WOS.pwn(5212) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5245) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5279) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5295) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5319) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5351) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5377) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5393) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5425) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5454) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5469) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5691) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5691) : warning 219: local variable "s" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5738) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5767) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5909) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5922) : error 035: argument type mismatch (argument 1)
C:\Users\Youssef\Desktop\WOS.pwn(5933) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(5942) : error 035: argument type mismatch (argument 1)
C:\Users\Youssef\Desktop\WOS.pwn(5950) : error 035: argument type mismatch (argument 2)
C:\Users\Youssef\Desktop\WOS.pwn(5953) : error 035: argument type mismatch (argument 2)
C:\Users\Youssef\Desktop\WOS.pwn(5985) : warning 228: length of initialler exceeds size of the enum field
C:\Users\Youssef\Desktop\WOS.pwn(5985) : warning 227: more initiallers than enum fields
C:\Users\Youssef\Desktop\WOS.pwn(5985) : error 018: initialization data exceeds declared size
C:\Users\Youssef\Desktop\WOS.pwn(5993) : error 017: undefined symbol "name"
C:\Users\Youssef\Desktop\WOS.pwn(5995) : error 017: undefined symbol "name"
C:\Users\Youssef\Desktop\WOS.pwn(6022) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6035) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6052) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6065) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6082) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6095) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6115) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6126) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6142) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6154) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6172) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6188) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6202) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6218) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6236) : error 035: argument type mismatch (argument 2)
C:\Users\Youssef\Desktop\WOS.pwn(6256) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6269) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6294) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6306) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6323) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6338) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6355) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6367) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6386) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6400) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6418) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6432) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6451) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6465) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6483) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6497) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6516) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6530) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6550) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6562) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6582) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6594) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6614) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6626) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6646) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6658) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6678) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6690) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6710) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6721) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6741) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6752) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6771) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6785) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6800) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6812) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6843) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6857) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6869) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6887) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6901) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6921) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6933) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6953) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6965) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6985) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(6997) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(7017) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(7029) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(7049) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(7061) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(7081) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(7093) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(7107) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Youssef\Desktop\WOS.pwn(7330) : error 035: argument type mismatch (argument 2)
C:\Users\Youssef\Desktop\WOS.pwn(7333) : error 010: invalid function or declaration
C:\Users\Youssef\Desktop\WOS.pwn(7336) : error 010: invalid function or declaration
C:\Users\Youssef\Desktop\WOS.pwn(7339) : error 010: invalid function or declaration
C:\Users\Youssef\Desktop\WOS.pwn(7342) : error 010: invalid function or declaration
C:\Users\Youssef\Desktop\WOS.pwn(7346) : error 010: invalid function or declaration
C:\Users\Youssef\Desktop\WOS.pwn(7348) : error 010: invalid function or declaration
C:\Users\Youssef\Desktop\WOS.pwn(7350) : error 021: symbol already defined: "GetPlayerName"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
these r the errors i just want the reason why it has this error bec its very hard to post 100 lines here xD and if sth needs the line tell me i copy paste here thanks
Reply
#2

guys please tell me reason ask for lines or anything :/
Reply
#3

These errors are easy to fix if you have a little knowledge of PAWN.
Most errors are about the variables "pname" and "string" that you've already defined globally.
Just remove the ones you are redefining in the callbacks.

Remove GetPlayerName from line 7350.

Show me line 7330
Reply
#4

Quote:
Originally Posted by Bible
Посмотреть сообщение
These errors are easy to fix if you have a little knowledge of PAWN.
Most errors are about the variables "pname" and "string" that you've already defined globally.
Just remove the ones you are redefining in the callbacks.

Remove GetPlayerName from line 7350.

Show me line 7330
if(AFK[playerid] == 1) return SendClientMessage(playerid, red, "You Cannot Talk, while You're AFK."), 0;
here it is and thanks
Reply
#5

Have you defined the color "red"?

If not add this ontop of your script:
pawn Код:
#define red 0xAA3333AA
And change that line to:

pawn Код:
if(AFK[playerid] == 1) return SendClientMessage(playerid, red, "You can't talk while being AFK.");
Reply
#6

Quote:
Originally Posted by Bible
Посмотреть сообщение
Have you defined the color "red"?

If not add this ontop of your script:
pawn Код:
#define red 0xAA3333AA
And change that line to:

pawn Код:
if(AFK[playerid] == 1) return SendClientMessage(playerid, red, "You can't talk while being AFK.");
worked good and about the sscanf errors wana see he lines ?
Reply
#7

there is a problem when i remove the defined string it says undefined when i put it says local variable string shadows wht nw but this happened only in 2 or 3 strings only wanna see them/?
Reply
#8

Quote:
Originally Posted by Bible
Посмотреть сообщение
Have you defined the color "red"?

If not add this ontop of your script:
pawn Код:
#define red 0xAA3333AA
And change that line to:

pawn Код:
if(AFK[playerid] == 1) return SendClientMessage(playerid, red, "You can't talk while being AFK.");
in this line
Код:
format(string,sizeof(string),"Player %s (ID: %d) has joined the server", GetName(playerid), playerid);
if i add new string[128] it gives
Код:
local variable "string" shadows a variable at a preceding level
and when i remove new string[128] gives error undefined string so wht to do
Reply
#9

i think that you forgot a bracket maybe? also try to edit it with:
pawn Код:
new message[128];
format(message,sizeof(message),"Player %s (ID: %d) has joined the server", GetName(playerid), playerid);
and check your messages
Reply
#10

Quote:
Originally Posted by Eth
Посмотреть сообщение
i think that you forgot a bracket maybe? also try to edit it with:
pawn Код:
new message[128];
format(message,sizeof(message),"Player %s (ID: %d) has joined the server", GetName(playerid), playerid);
and check your messages
thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)