Moin ,
Nun war bischen auf dem Englischen Sa-Mp forum und bin auf ein nützliches Include gestoßen, nur bekomm ich Errors beim Compailen die Errors sind aber im Include
#include <a_samp>
#include <LGZ>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
GZ_LoadLGZ();
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
GZ_LoadLGZ();
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerConnect(playerid)
{
GZ_SetTrueGZOwner(playerid);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
GZ_DeleteZoneTemp(playerid);
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
public GZ_OnPlayerEnter(playerid,zoneid);
{
return 1;
}
public GZ_OnPlayerLeave(playerid,zoneid);
{
return 1;
}
public GZ_OnPlayerCapture(playerid,zoneid);
{
return 1;
}
public GZ_OnPlayerGetMoney(playerid,amount);
{
return 1;
}
Errors :
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(63) : error 035: argument type mismatch (argument 2)
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(296) : error 004: function "GZ_OnPlayerEnter" is not implemented
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(332) : error 004: function "GZ_OnPlayerLeave" is not implemented
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(356) : error 035: argument type mismatch (argument 3)
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(361) : error 004: function "GZ_OnPlayerCapture" is not implemented
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(386) : error 004: function "GZ_OnPlayerGetMoney" is not implemented
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(415) : error 017: undefined symbol "MAX_STRING"
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(415) : error 009: invalid array size (negative, zero or out of bounds)
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(415) : error 036: empty statement
C:\Dokumente und Einstellungen\Fire_BnX\Desktop\samp 3c\pawno\include\LGZ.inc(415) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.
Include lade ich gleich Hoch werde es dann hier rein editieren