[POMOC] Problemi u pawnu

Započeo DjokoÅ¡
4. Dec. 2012. Zaključano
355
pregleda
4
postova
NickFalcone
4
Made Man
4. Dec. 2012.
Skripta koju koristim: GTA-RP
Detaljan opis problema: Ovako,izbrisao sam iz skripte public CheckStatus,tj,brzinotajmer,da ubacim novi uradio COMPILE i ovi problemi mi izasli.
Dio skripte:
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\pawno\include\streamer.inc(375) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\pawno\include\streamer.inc(397) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\pawno\include\streamer.inc(399) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(4646) : warning 219: local variable "i" shadows a variable at a preceding level
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(4650) : warning 219: local variable "i" shadows a variable at a preceding level
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(6848) : error 017: undefined symbol "encode_lights"
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(6854) : error 017: undefined symbol "encode_lights"
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10399) : error 004: function "ini_GetKey" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10399) : error 033: array must be indexed (variable "key")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10400) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10400) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10401) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10401) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10402) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10402) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10403) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10403) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10404) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10404) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10405) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10405) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10406) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10406) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10407) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10407) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10408) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10408) : error 033: array must be indexed (variable "val")
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10409) : error 004: function "ini_GetValue" is not implemented
D:\Igrice\Balkan DreamLand v1.1\Balkan Griss v1.1\gamemodes\griss.pwn(10409) : error 033: array must be indexed (variable "val")

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

26 Errors.

Neke slike/video za lakse dobivanje pomoci(neobavezno): / POMOC 😄
Evo linije:
public LoadMission(playerid,name[])
{
if(IsPlayerConnected(playerid))
{
new strFromFile2;
new missionname;
format(missionname, sizeof(missionname), "%s.mis",name);
new File: file = fopen(missionname, io_read);
if (file)
{
    new key[ 256 ] , val[ 256 ];
    new Data[ 256 ];
    while ( fread( file , Data , sizeof( Data ) ) )
{

  key = ini_GetKey( Data );
if( strcmp( key , "Title" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Maker" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text7" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text8" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text9" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text10" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text11" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text12" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text13" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text14" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text15" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text16" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text17" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "Text18" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "GText1" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "GText2" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "GText3" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "GText4" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "GText5" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "GText6" , true ) == 0 ) { val = ini_GetValue( Data ); strmid(PlayMission, val, 0, strlen(val), 255); }
if( strcmp( key , "CP1X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP1Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP1Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP2X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP2Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP2Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP3X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP3Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP3Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP4X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP4Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP4Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP5X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP5Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP5Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP6X" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP6Y" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "CP6Z" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = floatstr( val ); }
if( strcmp( key , "Number" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = strval( val ); }
if( strcmp( key , "Reward" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = strval( val ); }
if( strcmp( key , "Toggle" , true ) == 0 ) { val = ini_GetValue( Data ); PlayMission = strval( val ); }
}
Blaeks_Biofor
5
Forum Don
4. Dec. 2012.
Update ceo server na 0.3e, a ovo sto nisi definisao definisi.
NickFalcone
4
Made Man
4. Dec. 2012.
Koje sto nisam definisao😕
Blaeks_Biofor
5
Forum Don
4. Dec. 2012.
Updatetuj ceo server na 0.3e, i stavi ovo na vrh i stavi ovo na kraj skripte
stock ini_GetKey( line[] )
{
new keyRes;
keyRes = 0;
    if ( strfind( line , "=" , true ) == -1 ) return keyRes;
    strmid( keyRes , line , 0 , strfind( line , "=" , true ) , sizeof( keyRes) );
    return keyRes;
}

stock ini_GetValue( line[] )
{
new valRes;
valRes=0;
if ( strfind( line , "=" , true ) == -1 ) return valRes;
strmid( valRes , line , strfind( line , "=" , true )+1 , strlen( line ) , sizeof( valRes ) );
return valRes;
}
i javi dal ima errora

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha