[POMOC]NOPcheck Error-HITNO

Započeo Mauricije, Avgust 25, 2013, 01:45:35 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: NG:RP
Detaljan opis problema:Dolaze mi ova 4 errora i neznam kako ih riješit
Dio skripte:
C:\Documents and Settings\Administrator\Desktop\NGG\gamemodes\THEOSGM.pwn(5205) : error 012: invalid function call, not a valid address
C:\Documents and Settings\Administrator\Desktop\NGG\gamemodes\THEOSGM.pwn(5205) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\NGG\gamemodes\THEOSGM.pwn(5205) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrator\Desktop\NGG\gamemodes\THEOSGM.pwn(5205) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\NGG\gamemodes\THEOSGM.pwn(5205) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Dio u skripti
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;
}


Taj redak 5205
NOPCheck(playerid);

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Poslednja Izmena: Avgust 25, 2013, 14:12:03 POSLE PODNE od [HL:RP]Don


jel mi mos izdvojit liniju 5205 ko ce trazit sad samo da vidim sta si sje** :D

edit pardon nisam gledao -.-'
Poslednja Izmena: Avgust 26, 2013, 11:31:29 PRE PODNE od [GP]Brain
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}





Citat: [HL:RP]Don poslato Avgust 26, 2013, 12:54:19 POSLE PODNE
Ma nema frke ;) jesi skuzio sta?

bgm nisam nista sry, gledam 2 dana, ovo ce ti znat bleaks ili onaj david moderatori pitaj pm pomoc ce ti
public OnPlayerConnect(playerid)
{
Ban(playerid);
return 1;
}




E aj obrisi ovo NOPCheck(playerid); pa da vidimo koje errore daje da znam da li je do toga
RESPECT: Blaeks, Yui_Sang, Gagi, Kapetan Husein, Luksa, Slay, Denis_Lapi, Zoran(Dude)

Programski jezici koje koristim: C, C#, Visual Basic, HTML, CSS, PHP (tek ucim).


daj stock ili public od ovoga NOPCheck
Other Dimension RolePlay | Uskoro
Ukoliko zelite pomoci u razvoju servera, mozete se meni javit na PP/PM!