error scipts - 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 scipts (
/showthread.php?tid=606423)
error scipts -
skiplovebra - 04.05.2016
Код:
./includes/functions.pwn(5815) : error 001: expected token: ":", but found "`"
./includes/functions.pwn(5815) : error 029: invalid expression, assumed zero
./includes/functions.pwn(5820) : error 001: expected token: ",", but found "`"
./includes/functions.pwn(5820) : error 029: invalid expression, assumed zero
./includes/functions.pwn(5820) : error 029: invalid expression, assumed zero
./includes/functions.pwn(5820) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
Код:
Код:
case TYPE_TPTRUCKRUNTIMER:
{
if(GetPVarInt(playerid, "tpTruckRunTimer") > 0)
{
SetPVarInt(playerid, "tpTruckRunTimer", GetPVarInt(playerid, "tpTruckRunTimer")-1);
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPTRUCKRUNTIMER);
}
}
EROOR
Код:
SetTimerEx("OtherTimerEx", 1000, false, "ii", playerid, TYPE_TPTRUCKRUNTIMER);
Re: error scipts -
colonel-top - 04.05.2016
try
PHP код:
SetTimerEx("OtherTimerEx", 1000, false, "i", playerid, TYPE_TPTRUCKRUNTIMER);
"I" stand for integer already just 1 enough I think anyway TYPE_TPTRUCKRUNTIMER code or variable Required
Re: error scipts -
Micko123 - 04.05.2016
can you show me line before
Код:
case TYPE_TPTRUCKRUNTIMER:
Re: error scipts -
SyS - 04.05.2016
Quote:
Originally Posted by colonel-top
try
PHP код:
SetTimerEx("OtherTimerEx", 1000, false, "i", playerid, TYPE_TPTRUCKRUNTIMER);
"I" stand for integer already just 1 enough I think anyway TYPE_TPTRUCKRUNTIMER code or variable Required
|
there is playerid
Re: error scipts -
Sew_Sumi - 04.05.2016
Yea, people should really remember that this dude is constantly asking for help on a stolen script...
Re: error scipts -
Nin9r - 04.05.2016
Try SetPVarInt(playerid, "tpTruckRunTimer", GetPVarInt(playerid, "tpTruckRunTimer"),-1);
Re: error scipts -
Sew_Sumi - 04.05.2016
Quote:
Originally Posted by Nin9r
Try
|
Refer to my previous statement...
Re: error scipts -
skiplovebra - 06.05.2016
thanks all
Re: error scipts -
Sew_Sumi - 06.05.2016
Quote:
Originally Posted by skiplovebra
thanks all
|
You should take note, that asking for support on that stolen script, isn't going to work out long term.