[Ajuda] DINI > DOF2 help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] DINI > DOF2 help (
/showthread.php?tid=595768)
DINI > DOF2 help -
presidiario - 07.12.2015
Passei meu GM para dof2 sу que eu estou em uma duvida aki
eu queria saber como eu passaria isso para dof2?
Код:
if( strcmp( key , "Trancado1" , true ) == 0 ) { val = ini_GetValue( Data ); carrotrancado[playerid] = strval( val ); }
if( strcmp( key , "Trancado2" , true ) == 0 ) { val = ini_GetValue( Data ); carrotrancado2[playerid] = strval( val ); }
if( strcmp( key , "Trancado3" , true ) == 0 ) { val = ini_GetValue( Data ); carrotrancado3[playerid] = strval( val ); }
Re: DINI > DOF2 help -
cicinho - 07.12.2015
Pelo strval deve ser inteiro, use DOF2_GetInt.