help needed ASAP
#10

Quote:
Originally Posted by leonardo1434
View Post
Put this on top of your GM

pawn Code:
new NOPCheck
About color red and blue, both colors are defined twice.

About IsPlayerInRangeOfVehicle i never saw this function in samp. try remove this line.
I got only this error :
pawn Code:
F:\Cross City\Latest GM\mat.pwn(4798) : error 012: invalid function call, not a valid address
F:\Cross City\Latest GM\mat.pwn(4798) : warning 215: expression has no effect
F:\Cross City\Latest GM\mat.pwn(4798) : error 001: expected token: ";", but found ")"
F:\Cross City\Latest GM\mat.pwn(4798) : error 029: invalid expression, assumed zero
F:\Cross City\Latest GM\mat.pwn(4798) : fatal error 107: too many error messages on one line
THis is the line:
pawn Code:
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;
}

ANOTHER ERROR:
pawn Code:
F:\Cross City\Latest GM\mat.pwn(83) : error 001: expected token: ";", but found "new"
LINE:
pawn Code:
new Spray[MAX_PLAYERS];
Reply


Messages In This Thread
help needed ASAP - by Paul_Saint - 24.05.2012, 17:03
Re: help needed ASAP - by vvhy - 24.05.2012, 17:11
Re: help needed ASAP - by Paul_Saint - 24.05.2012, 17:13
Re: help needed ASAP - by IceCube! - 24.05.2012, 17:16
Re: help needed ASAP - by vvhy - 24.05.2012, 17:18
Re: help needed ASAP - by IceCube! - 24.05.2012, 17:19
Re: help needed ASAP - by leonardo1434 - 24.05.2012, 17:20
Re: help needed ASAP - by vvhy - 24.05.2012, 17:24
Re: help needed ASAP - by IceCube! - 24.05.2012, 17:26
Re: help needed ASAP - by Paul_Saint - 24.05.2012, 17:29

Forum Jump:


Users browsing this thread: 1 Guest(s)