Scripting Problem
#1

Hey guys,

I have a problem.

This is the error :
Код:
D:\American_Idiot\gamemodes\American_idiot.pwn(1212) : warning 219: local variable "string" shadows a variable at a preceding level
D:\American_Idiot\gamemodes\American_idiot.pwn(1213) : warning 219: local variable "cmd" shadows a variable at a preceding level
D:\American_Idiot\gamemodes\American_idiot.pwn(1214) : warning 219: local variable "tmp" shadows a variable at a preceding level
D:\American_Idiot\gamemodes\American_idiot.pwn(1215) : warning 219: local variable "idx" shadows a variable at a preceding level
D:\American_Idiot\gamemodes\American_idiot.pwn(1800) : warning 219: local variable "string" shadows a variable at a preceding level
D:\American_Idiot\gamemodes\American_idiot.pwn(1871) : warning 219: local variable "string" shadows a variable at a preceding level
Код:
1212 till 1220 :

(playerid, cmdtext[])
{
  new string[128];
	new cmd[32];
	new tmp[32];
	new idx;
	cmd = strtok(cmdtext, idx);

Line 1800 : {
Line 1871 : LOw Nothing
Reply


Messages In This Thread
Scripting Problem - by Drowzz - 13.06.2010, 07:29
Re: Scripting Problem - by NiiRV4N4 - 13.06.2010, 07:47

Forum Jump:


Users browsing this thread: 1 Guest(s)