[PAWN] Tons of errors
#6

Wait wait wait, It didn't worked, It gave me this error back:
Код:
C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(4887) : error 012: invalid function call, not a valid address
C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(4887) : warning 215: expression has no effect
C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(4887) : error 001: expected token: ";", but found ")"
C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(4887) : error 029: invalid expression, assumed zero
C:\Users\Gebruiker\Documents\GTA San Andreas\samp servers\Fast Hustler Roleplay V2.0\gamemodes\UGRP.pwn(4887) : fatal error 107: too many error messages on one line

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


4 Errors.

Код:
ExecuteNOPAction(playerid)
{
	new string[128];
	new newcar = GetPlayerVehicleID(playerid);
	if(NOPTrigger[playerid] >= MAX_NOP_WARNINGS) { return 1; }
	NOPTrigger[playerid]++;
	RemovePlayerFromVehicle(playerid);
	new Float:X, Float:Y, Float:Z;
	GetPlayerPos(playerid, X, Y, Z);
	SetPlayerPos(playerid, X, Y, Z+2);
	NOPCheck(playerid); //THIS LINE
	if(NOPTrigger[playerid] > 1)
	{
		new sec = (NOPTrigger[playerid] * 5000)/1000-1;
		format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s (ID %d) may be NOP hacking - restricted vehicle (model %d) for %d seconds.", GetPlayerNameEx(playerid), playerid, GetVehicleModel(newcar),sec);
		ABroadCast(COLOR_YELLOW, string, 2);
	}
	return 1;
}
This is on the top of the script:
Код:
new NOPCheck;
Reply


Messages In This Thread
[PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:32
Re: [PAWN] Tons of errors - by Parallex - 31.05.2014, 10:35
Re: [PAWN] Tons of errors - by SyntaxQ - 31.05.2014, 10:35
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:38
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:41
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:44
Re: [PAWN] Tons of errors - by Eth - 31.05.2014, 10:45
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 10:52
Re: [PAWN] Tons of errors - by Eth - 31.05.2014, 11:05
Re: [PAWN] Tons of errors - by bradleyofniet - 31.05.2014, 11:10

Forum Jump:


Users browsing this thread: 1 Guest(s)