SA-MP Forums Archive
Error ! - 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: Error ! (/showthread.php?tid=454965)



Error ! - ngumcutoi1999 - 31.07.2013

Код:
(5255) : error 012: invalid function call, not a valid address
(5255) : warning 215: expression has no effect
(5255) : error 001: expected token: ";", but found ")"
(5255) : error 029: invalid expression, assumed zero
(5255) : fatal error 107: too many error messages on one line
line 5255
Код:
NOPCheck(playerid);
help me please !


Re: Error ! - Red_Dragon. - 31.07.2013

Show us a few lines before it and a few lines after it so we can know inside what did you add this.


Re: Error ! - ngumcutoi1999 - 31.07.2013

Quote:
Originally Posted by Red_Dragon.
Посмотреть сообщение
Show us a few lines before it and a few lines after it so we can know inside what did you add this.
Код:
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);
	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;
}



Re: Error ! - JusstinRoller - 31.07.2013

You trying to use NGRP edit... This gamemode not good..


Re: Error ! - ngumcutoi1999 - 31.07.2013

Help me !