#1

help please)

PHP код:
            Newreg[playerid] = true;
            
mysql_format(mysqlquerysizeof(query), "INSERT INTO `players` (`ID`, `User`, `Pass`, `IP`, `Admin`, `SkinID`, `AccountLocked`, `AccountBanned`, `BanningAdmin`, `BannedReason`, `MoneyHand`, `MoneyBank`,`Health`, `Armour`, `LastActivity`, `WeaponSlot1`, `WepSlotAmmo1`, `WeaponSlot2`, `WepSlotAmmo2`, `WeaponSlot3`, `WepSlotAmmo3`, `WeaponSlot4`, `WepSlotAmmo4`, `WeaponSlot5`, `WepSlotAmmo5`) VALUES ('', '%e', '%s', '%s', 0, 299, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 5000, 0, 0, 0, 100.0, 0.0, 0, 0), GetUserName(playerid), Player[playerid][Pass], IP[playerid]); 
PHP код:
C:\Users\Sanchez\Desktop\Justify\script\gamemodes\ucp.pwn(210) : error 075input line too long (after substitutions)
C:\Users\Sanchez\Desktop\Justify\script\gamemodes\ucp.pwn(211) : error 037invalid string (possibly non-terminated string)
C:\Users\Sanchez\Desktop\Justify\script\gamemodes\ucp.pwn(211) : error 017undefined symbol "INSERT"
C:\Users\Sanchez\Desktop\Justify\script\gamemodes\ucp.pwn(211) : error 017undefined symbol "INTO"
C:\Users\Sanchez\Desktop\Justify\script\gamemodes\ucp.pwn(211) : fatal error 107too many error messages on one line 
Reply
#2

Your line is too long.
That means your string is to small.
Increase the string value. xD
Reply
#3

Quote:
Originally Posted by FaLLenGirL
Посмотреть сообщение
Your line is too long.
That means your string is to small.
Increase the string value. xD


check out your code

you forgot -> " also line is too long

PHP код:
Newreg[playerid] = true
mysql_format(mysqlquerysizeof(query), "INSERT INTO `players` (`ID`, `User`, `Pass`, `IP`, `Admin`, `SkinID`, `AccountLocked`, `AccountBanned`, `BanningAdmin`, `BannedReason`, `MoneyHand`, `MoneyBank`,`Health`, `Armour`, `LastActivity`, `WeaponSlot1`, `WepSlotAmmo1`, `WeaponSlot2`, `WepSlotAmmo2`, `WeaponSlot3`, `WepSlotAmmo3`, `WeaponSlot4`, `WepSlotAmmo4`, `WeaponSlot5`, `WepSlotAmmo5`)\
 VALUES ('', '%e', '%s', '%s', 0, 299, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250, 5000, 0, 0, 0, 100.0, 0.0, 0, 0)"
GetUserName(playerid), Player[playerid][Pass], IP[playerid]); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)