SA-MP Forums Archive
[help] need help on errors. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [help] need help on errors. (/showthread.php?tid=340451)



[help] need help on errors. - Roy70 - 07.05.2012

I have gamemode and i have errors.
i very angry on this errors....

The errors them:
Quote:

C:\pawno\***.pwn(3003 : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30043) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30077) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30093) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(3009 : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30114) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30123) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30131) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30136) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(3014 : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30164) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30173) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30175) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30185) : error 079: inconsistent return types (array & non-array)
C:\pawno\***.pwn(30192) : error 079: inconsistent return types (array & non-array)

And all errors looking on that: (Example)
Код:
	if(!strlen(tmp))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pay [PlayerID/PartOfName] [Amount]");
		return 1;
	}



Re: [help] need help on errors. - ViniBorn - 07.05.2012

Quote:
Originally Posted by Roy70
Посмотреть сообщение
And all errors looking on that: (Example)
Код:
	if(!strlen(tmp))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pay [PlayerID/PartOfName] [Amount]");
		return 1;
	}
It's right ...

Are you sure that the lines are these?


Re: [help] need help on errors. - Roy70 - 07.05.2012

No all lines.
have very much line's but is the line. 1 on 1.