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



INI_String - NoDi522 - 30.05.2015

PHP код:
C:\Users\Dino Covic\Desktop\SAMP Server\gamemodes\Server_Skripta.pwn(3398) : error 001expected token")"but found "["
C:\Users\Dino Covic\Desktop\SAMP Server\gamemodes\Server_Skripta.pwn(3398) : warning 215expression has no effect
C
:\Users\Dino Covic\Desktop\SAMP Server\gamemodes\Server_Skripta.pwn(3398) : error 001expected token";"but found "]"
C:\Users\Dino Covic\Desktop\SAMP Server\gamemodes\Server_Skripta.pwn(3398) : error 029invalid expressionassumed zero
C
:\Users\Dino Covic\Desktop\SAMP Server\gamemodes\Server_Skripta.pwn(3398) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

3398:

PHP код:
    INI_String("Mobitel",PlayerInfo[playerid][Mobitel],15); 
Its about mobile system so... I want to load name of the mobile and this causes errors.


Re: INI_String - Sledgehammer - 30.05.2015

INI_String("Mobitel",PlayerInfo[playerid][Mobitel]);

Try this?


Re: INI_String - NoDi522 - 30.05.2015

Nope i tried it from the first. When i tried it i get error: Underfined symbol


Re: INI_String - Sledgehammer - 30.05.2015

https://sampforum.blast.hk/showthread.php?tid=499126
Quote:
Originally Posted by ColeMiner
Посмотреть сообщение
Sadly INI_String doesn't really support strings in 2d arrays because PAWN doesn't really support them. Put your strings in a separate variable, not in an enum.



Re: INI_String - LMaxCo - 30.05.2015

Quote:
Originally Posted by NoDi522
Посмотреть сообщение
Nope i tried it from the first. When i tried it i get error: Underfined symbol
Which symbol are undifined when you try Sledgehammer say?


Re: INI_String - NoDi522 - 30.05.2015

"Undefined symbol INI_String"