SA-MP Forums Archive
I have some errors and someone can fix them -In ;D- - 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: I have some errors and someone can fix them -In ;D- (/showthread.php?tid=361858)



I have some errors and someone can fix them -In ;D- - xRotem - 22.07.2012

Код:
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "NOPCheck"
error 017: undefined symbol "IsNumeric"
Line:
Код HTML:
	NOPCheck(playerid); 
	if (IsNumeric(clr))



Re: I have some errors and someone can fix them -In ;D- - mrsamp - 22.07.2012

Download Dini that might fix:
Код:
error 017: undefined symbol "IsNumeric"
Not 100% sure.


Re: I have some errors and someone can fix them -In ;D- - xRotem - 22.07.2012

What is Dini?
and someone can help me!? please


Re: I have some errors and someone can fix them -In ;D- - SuperViper - 22.07.2012

You shouldn't be using code from the NGG script.


Re: I have some errors and someone can fix them -In ;D- - xRotem - 22.07.2012

What you want? if you don't have answer just not reply -_-
help someone?


Re: I have some errors and someone can fix them -In ;D- - [KHK]Khalid - 22.07.2012

Add this somewhere in your script to get rid of the IsNumeric error:

pawn Код:
IsNumeric(const string[])
{
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
}
And for the NOPCheck errors you gotta define this function since it's not a native function.


Re: I have some errors and someone can fix them -In ;D- - xRotem - 22.07.2012

you mean
Код HTML:
#define NOPCheck
if yes so its not work.. -_-
But never mind i have it now..
Код HTML:
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(83151) : error 017: undefined symbol "PrivateBTN"
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(83151) : warning 215: expression has no effect
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(83151) : error 001: expected token: ";", but found "]"
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(83151) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(83151) : fatal error 107: too many error messages on one line



Re: I have some errors and someone can fix them -In ;D- - [KHK]Khalid - 22.07.2012

Quote:
Originally Posted by xRotem
Посмотреть сообщение
you mean
Код HTML:
#define NOPCheck
Depends on how you're using it, if you're using it like NOPCheck(playerid...); (Which I'm sure you do) so it has to be defined as a Stock or a Public.