input line too long - 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 (
/showthread.php?tid=490162)
input line too long -
romka - 25.01.2014
PHP код:
C:\Documents and Settings\\Desktop\SA-MP Server\Red County Roleplay\gamemodes\new.pwn(18150) : error 075: input line too long (after substitutions)
C:\Documents and Settings\\Desktop\SA-MP Server\Red County Roleplay\gamemodes\new.pwn(18151) : error 075: input line too long (after substitutions)
C:\Documents and Settings\\Desktop\SA-MP Server\Red County Roleplay\gamemodes\new.pwn(18152) : error 075: input line too long (after substitutions)
C:\Documents and Settings\\Desktop\SA-MP Server\Red County Roleplay\gamemodes\new.pwn(18153) : error 075: input line too long (after substitutions)
C:\Documents and Settings\\Desktop\SA-MP Server\Red County Roleplay\gamemodes\new.pwn(18154) : error 075: input line too long (after substitutions)
C:\Documents and Settings\\Desktop\SA-MP Server\Red County Roleplay\gamemodes\new.pwn(18155) : error 075: input line too long (after substitutions)
C:\Documents and Settings\\Desktop\SA-MP Server\Red County Roleplay\gamemodes\new.pwn(18156) : error 075: input line too long (after substitutions)
C:\Documents and Settings\\Desktop\SA-MP Server\Red County Roleplay\gamemodes\new.pwn(18157) : error 075: input line too long (after substitutions)
PHP код:
stock GetWeaponSlot(weaponid)
{
new slot;
switch(weaponid)
{
case 0,1: slot = 0;
case 2 .. 9: slot = 1;
case 10 .. 15: slot = 10;
case 16 .. 18, 39: slot = 8;
case 22 .. 24: slot = 2;
case 25 .. 27: slot = 3;
case 28, 29, 32: slot = 4;
case 30, 31: slot = 5;
case 33, 34: slot = 6;
case 35 .. 38: slot = 7;
case 40: slot = 12;
case 41 .. 43: slot = 9;
case 44 .. 46: slot = 11;
}
return slot;
}>>18150 error
// end of the gamemode
help please
Re: input line too long -
ikey07 - 25.01.2014
You have something wrong above this whole stock.
Re: input line too long -
romka - 25.01.2014
help please! :S
Re: input line too long -
romka - 25.01.2014
in another gm works this stock