Tons of errors..
#15

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by [B
Vortex ]
Lines 706 and 707 are there.
I mean which one is exactly 706 and 707. Sorry, didn't saw the // 706 and // 703 comments.

Quote:
Originally Posted by [B
Vortex ]
And what are local and global variables?
You have the Name variable at PlayerInfo and again, you have Name variable at the OnPlayerConnectSettings function.
The one at PlayerInfo is global and the one at OnPlayerConnectSettings is local, their names are the same, change one of them.

Also:
pawn Код:
dini_Set(file,"IP",IP);
should be:
pawn Код:
dini_Set(file,"IP",Ip);
because you have stored player's ip into the "Ip" variable, not "IP".
Thanks, but now..

Код:
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(705) : warning 219: local variable "Name" shadows a variable at a preceding level
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(705) : warning 219: local variable "Ip" shadows a variable at a preceding level
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(705) : error 035: argument type mismatch (argument 2)
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(705) : error 035: argument type mismatch (argument 2)
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(705) : error 035: argument type mismatch (argument 2)
C:\Users\Damien\Desktop\samp server\gamemodes\LVTDMFIX.pwn(705) : fatal error 107: too many error messages on one line

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


4 Errors.
Line 705 -
pawn Код:
new file[100],Name[MAX_PLAYER_NAME],Ip[16]; GetPlayerName(playerid,Name,sizeof(Name)); GetPlayerIp(playerid,Ip,sizeof(Ip)); format(file,sizeof(file),PlayerFile,Name);
Reply


Messages In This Thread
Tons of errors.. - by _Vortex - 05.09.2009, 20:34
Re: Tons of errors.. - by Correlli - 05.09.2009, 21:10
Re: Tons of errors.. - by Burridge - 05.09.2009, 21:15
Re: Tons of errors.. - by Correlli - 05.09.2009, 21:16
Re: Tons of errors.. - by Burridge - 05.09.2009, 21:17
Re: Tons of errors.. - by Correlli - 05.09.2009, 21:22
Re: Tons of errors.. - by Burridge - 05.09.2009, 21:24
Re: Tons of errors.. - by _Vortex - 05.09.2009, 22:09
Re: Tons of errors.. - by Correlli - 05.09.2009, 22:14
Re: Tons of errors.. - by Burridge - 05.09.2009, 22:15
Re: Tons of errors.. - by _Vortex - 05.09.2009, 22:18
Re: Tons of errors.. - by Correlli - 05.09.2009, 22:27
Re: Tons of errors.. - by _Vortex - 05.09.2009, 22:28
Re: Tons of errors.. - by Correlli - 05.09.2009, 22:30
Re: Tons of errors.. - by _Vortex - 05.09.2009, 22:41
Re: Tons of errors.. - by Correlli - 05.09.2009, 22:44
Re: Tons of errors.. - by _Vortex - 05.09.2009, 22:47
Re: Tons of errors.. - by Correlli - 06.09.2009, 00:16
Re: Tons of errors.. - by _Vortex - 06.09.2009, 00:19
Re: Tons of errors.. - by Correlli - 06.09.2009, 00:20
Re: Tons of errors.. - by _Vortex - 06.09.2009, 00:23

Forum Jump:


Users browsing this thread: 1 Guest(s)