SA-MP Forums Archive
help needed ASAP - 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: help needed ASAP (/showthread.php?tid=345328)



help needed ASAP - Paul_Saint - 24.05.2012

pawn Code:
F:\Cross City\Latest GM\mat.pwn(561) : warning 201: redefinition of constant/macro (symbol "COLOR_RED")
F:\Cross City\Latest GM\mat.pwn(576) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
F:\Cross City\Latest GM\mat.pwn(4796) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5685) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5701) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5714) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5728) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5739) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5753) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5816) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5831) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5846) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5861) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5876) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5891) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5906) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5921) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5936) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5951) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5966) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5981) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(5996) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(6026) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(6041) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(6070) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(6082) : error 017: undefined symbol "NOPCheck"
F:\Cross City\Latest GM\mat.pwn(6106) : error 017: undefined symbol "IsPlayerInRangeOfVehicle"
F:\Cross City\Latest GM\mat.pwn(8280) : error 017: undefined symbol "IsNumeric"

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


26 Errors.
Help me please and if the above is low of info, Please PM me so that i can send u my TV id and pass


Re: help needed ASAP - vvhy - 24.05.2012

well... post all of those lines


Re: help needed ASAP - Paul_Saint - 24.05.2012

All are just these:

pawn Code:
NOPCheck(playerid);



Re: help needed ASAP - IceCube! - 24.05.2012

SHow us your stock NOPCheck then, else I will have to tune in telepathicly which means I hhave to get into a fucking time machine and goto a year where they can do that which about that time you WILL be dead so thats not going to work, Therefor if you dont show the code I cant help you!


Re: help needed ASAP - vvhy - 24.05.2012

I will need to see all of the lines the error lists from 561 to 8280


Re: help needed ASAP - IceCube! - 24.05.2012

Quote:
Originally Posted by vvhy
View Post
I will need to see all of the lines the error lists from 561 to 8280
DO YOU HAVE ANY IDEA HOW LONG THAT IS!

Seriously show us your stock -.-


Re: help needed ASAP - leonardo1434 - 24.05.2012

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.


Re: help needed ASAP - vvhy - 24.05.2012

Quote:
Originally Posted by IceCube!
View Post
DO YOU HAVE ANY IDEA HOW LONG THAT IS!

Seriously show us your stock -.-
yeah I didn't really think about that


Re: help needed ASAP - IceCube! - 24.05.2012

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.
Let me clarify this, he has NOPCheck(playerid); this means its a FUNCTION there for a public or a STOCK hence the fact I asked him to find it as he isnt going to, meaning he will find his problem and fix it.


Re: help needed ASAP - Paul_Saint - 24.05.2012

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];