input line too long help - 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: input line too long help (
/showthread.php?tid=504140)
input line too long help -
ignas1125 - 02.04.2014
I using sublime text2 and i get 26 errors because input line too long the line is STOP(playerid);
and all errors are in STOP(playerid); code
Stock :
Код:
stock STOP(playerid)
{
GetPlayerPos( playerid, SavePos[ playerid ][ 0 ],SavePos[ playerid ][ 1 ],SavePos[ playerid ][ 2 ] );
GetPlayerFacingAngle( playerid, SavePos[ playerid ][ 3 ] );
SetPlayerPos( playerid, SavePos[ playerid ][ 0 ],SavePos[ playerid ][ 1 ],SavePos[ playerid ][ 2 ]+2.0 );
SetPlayerFacingAngle( playerid, SavePos[ playerid ][ 3 ] );
}
Exemple error line :/
Код:
if( Model[ playerid ] == 416 )
{
if( MEDIKUCARS[ 0 ] != 999 )
{
if( MYRANGAS[ playerid ][ GETPLAYERJOBFROMFACTIONX(playerid) ]-1 < MEDIKUCARS[ 0 ])
{
SendClientMessage( playerid, COLOR_RED,"* Jыs рios firmos darbuotojas, bet jыsш rangas yra per maюas.");
TogglePlayerControllable(playerid, false);
STOP( playerid );
ControlPlayerInTime(playerid, 3000, true); // Nustatome jog po 3 sekundћiu ћaidejas bus at