SA-MP Forums Archive
Fast please - 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: Fast please (/showthread.php?tid=583636)



Fast please - Mariciuc223 - 29.07.2015

How to use INI_String ?

Код:
INI_String("Reason", bInfo[playerid][pBanReason], 32);
i have that and there give me that errors :

Код:
D:\Gamemode\gamemodes\Gamemodev01.pwn(4425) : error 001: expected token: ")", but found "["
D:\Gamemode\gamemodes\Gamemodev01.pwn(4425) : warning 215: expression has no effect
D:\Gamemode\gamemodes\Gamemodev01.pwn(4425) : error 001: expected token: ";", but found "]"
D:\Gamemode\gamemodes\Gamemodev01.pwn(4425) : error 029: invalid expression, assumed zero
D:\Gamemode\gamemodes\Gamemodev01.pwn(4425) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



AW: Fast please - Mencent - 29.07.2015

Hello!

How do you declared pBanReason?


Re: AW: Fast please - Mariciuc223 - 30.07.2015

Quote:
Originally Posted by Mencent
Посмотреть сообщение
Hello!

How do you declared pBanReason?
Wow , when i read your comment i known there it's missing the cell of the string :O , and now it's compiling well


Re: Fast please - IndependentGaming - 30.07.2015

Show us the line under and one line above the error line


Re: Fast please - Mariciuc223 - 30.07.2015

Lol , the error it's gone , there where that problem : i don't put a cell size for string (like a idiot)

SOLVED !