error [+rep] - 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 [+rep] (
/showthread.php?tid=578858)
error [+rep] -
simo0000 - 22.06.2015
Fixed
Re: error [+rep] -
Prokill911 - 22.06.2015
PHP код:
if(iVehicleID != -1) {
VehType = 1;
break;
}
There's your issue...
You're telling the script to break.
Just return 1...
You're not using any Do/While/Foreach/
Statements... So why are you trying to break out of the statement when they need that param to get inside the statement.
Re : Re: error [+rep] -
simo0000 - 22.06.2015
Quote:
Originally Posted by Prokill911
PHP код:
if(iVehicleID != -1) {
VehType = 1;
break;
}
There's your issue...
You're telling the script to break.
Just return 1...
You're not using any Do/While/Foreach/
Statements... So why are you trying to break out of the statement when they need that param to get inside the statement.
|
you are right
thnx mate it works now +repped
rep me back if you want
thnx again
Re: Re : Re: error [+rep] -
Prokill911 - 22.06.2015
Quote:
Originally Posted by simo0000
you are right
thnx mate it works now +repped
rep me back if you want
thnx again
|
Np happy to help