public OnGameModeExit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
OnPlayerCarUpdate(i);
}
DestroyPickup(Dtc_Info);
return 1;
}
error 004: function "OnPlayerCarUpdate" is not implemented
public OnGameModeExit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
OnPlayerCarUpdate(i);
}
DestroyPickup(Dtc_Info);
return 1;
}
error 004: function "OnPlayerCarUpdate" is not implemented
Da ist keine Klammerfehler
Hast du "OnPlayerCarUpdte" überhaupt i-wo definiert?
ja hier
forward OnPlayerCarUpdate(playerid);
Lassen wir das mal weg habe jetzt alles eingebaut jetzt kommt das hier
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(253) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(284) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(479) : error 004: function "ini_GetKey" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(479) : error 033: array must be indexed (variable "key")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(480) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(480) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(481) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(481) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(482) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(482) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(483) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(483) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(484) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(484) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(485) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(485) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(486) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(486) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(487) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(487) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(488) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(488) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(489) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(489) : error 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(490) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(490) : errtor 033: array must be indexed (variable "val")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(491) : error 004: function "ini_GetValue" is not implemented
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(491) : error 033: array must be indexed (variable "val")
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
das ist das DT Car system habe es mal in mein Script eingebaut (Kein GF) !!!
Das forwardallein reicht ja nicht, du wirst doch irgendwo noch eine Funktion dazu haben, oder?
Ja ich weis schon was du meinst jetzt
aber die funktionen habe ich alle dazu das ist das DT_CAR System so funkt es auch nur nicht wenn ich es in mein GM Einbaue
stock ini_GetKey( line[] )
{
new keyRes[256];
keyRes[0] = 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[256];
valRes[0]=0;
if ( strfind( line , "=" , true ) == -1 ) return valRes;
strmid( valRes , line , strfind( line , "=" , true )+1 , strlen( line ) , sizeof( valRes ) );
return valRes;
}
Hier ZB ini_GetKey
und ini_GetValue
deshalb verstehe ich das nicht