#include <a_samp>
#define Gruen 0x00FF00FF;
#define Rot 0xFF0000FF;
new Float:x, Float:y, Float:z;
new Menu:Hilfe;
#if defined FILTERSCRIPT
main()
{
print("\n----------------------------------");
print("Deathmatch");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
SetGameModeText("Deathmatch");
AddPlayerClass(100,1318.2623,1257.6168,10.8203,357.9152,25,50,28,50,0,0); // Hausstart
AddPlayerClass(270,1608.9586,1643.4573,10.8203,152.9104,24,35,26,20,0,0); // Containerstart
UsePlayerPedAnims();
DisableInteriorEnterExits();
Hilfe = CreateMenu("Hilfe",2,200.0,100.0,150.0,150.0);
AddMenuItem(Hilfe, 0, "/Heal heilt den Benutzer.");
AddMenuItem(Hilfe, 0, "/Car spawnt einen Hotring Racer");
AddMenuItem(Hilfe, 0, "für 1000$.");
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1684.3187,1448.3093,10.7708);
SetPlayerCameraPos(playerid, 1696.8353,1448.1917,10.7616);
SetPlayerCameraLookAt(playerid, 1684.3187,1448.3093,10.7708);
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,Gruen,"Wenn Du Hilfe brauchst nutze /hilfe um die Befehle anzeigen zu lassen.");
return 1;
}
Das is im mom alles was drüber steht...ich find da keinen fehler xD