Errors........
#1

The errors are:
PHP код:
D:\server\gamemodes\CCRPwithhelpmenu.pwn(5269) : error 012invalid function callnot a valid address
D
:\server\gamemodes\CCRPwithhelpmenu.pwn(5269) : warning 215expression has no effect
D
:\server\gamemodes\CCRPwithhelpmenu.pwn(5269) : error 001expected token";"but found ")"
D:\server\gamemodes\CCRPwithhelpmenu.pwn(5269) : error 029invalid expressionassumed zero
D
:\server\gamemodes\CCRPwithhelpmenu.pwn(5269) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

And the section involved is:
PHP код:
ExecuteNOPAction(playerid)
{
    new 
string[128];
    new 
newcar GetPlayerVehicleID(playerid);
    if(
NOPTrigger[playerid] >= MAX_NOP_WARNINGS) { return 1; }
    
NOPTrigger[playerid]++;
    
RemovePlayerFromVehicle(playerid);
    new 
Float:XFloat:YFloat:Z;
    
GetPlayerPos(playeridXYZ);
    
SetPlayerPos(playeridXYZ+2);
    
NOPCheck(playerid);       <---------- This is line 5269
    
if(NOPTrigger[playerid] > 1)
    {
        new 
sec = (NOPTrigger[playerid] * 5000)/1000-1;
        
format(stringsizeof(string), "{AA3333}AdmWarning{FFFF00}: %s (ID %d) may be NOP hacking - restricted vehicle (model %d) for %d seconds."GetPlayerNameEx(playerid), playeridGetVehicleModel(newcar),sec);
        
ABroadCast(COLOR_YELLOWstring2);
    }
    return 
1;

Any help will be much appreciated.
Rhys
Reply
#2

so which line is 5269
Reply
#3

Don't use the NG:RP script then.
Reply
#4

Quote:
Originally Posted by HuSs3n
Посмотреть сообщение
so which line is 5269
Just pointed it out.

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
Don't use the NG:RP script then.
I use it for fun and to learn, i don't run a server on that script...
Reply
#5

Quote:
Originally Posted by Humprabbit
Посмотреть сообщение
Just pointed it out.


I use it for fun and to learn, i don't run a server on that script...
Ah, okay. Sorry for being a jerk.

The problem is that you're missing the y_timers include. Download the .zip folder with the link provided below and drag that folder to your server directory (where the scriptfiles/gamemodes/etc folders are).

http://www.solidfiles.com/d/43dd1787fd/
Reply
#6

Quote:
Originally Posted by Emmet_
Посмотреть сообщение
Ah, okay. Sorry for being a jerk.

The problem is that you're missing the y_timers include. Download the .zip folder with the link provided below and drag that folder to your server directory (where the scriptfiles/gamemodes/etc folders are).

http://www.solidfiles.com/d/43dd1787fd/
It's understandable, and thanks that worked just now pawno crashes every time i try and compile......
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)