Hi Leute ich habe ein Problem. Ich habe ein Deathmatch Filterscript. Eigabeaufforderung sagt es ist geladen aber ich geh in den server rein und ich kann /deathmatch eingeben und es passiert nix. Bitte um SCHNELLE Hilfe
#include <a_samp>
#include <a_npc>
#include <core>
#include <float>
#include "../include/a_players.inc"
#include "../include/gl_common.inc"
#define Filterscript
#define COLOR_RED 0xAA3333AA
#if defined Filterscript
//-----------------------------------------------
public OnPlayerConnect(playerid)
{
return 1;
}
//----------------------------------------------
public OnPlayerCommandText(playerid, cmdtext[])
{
if( strcmp( cmdtext, "/deathmatch", true) == 0)
{
SetPlayerPos(playerid,245.37010192871,1818.3930664063,6.5546875);
GivePlayerWeapon(playerid,WEAPON_MP5,150);
GivePlayerWeapon(playerid,WEAPON_M4,200);
GivePlayerWeapon(playerid,WEAPON_GRENADE,2);
SendClientMessage(playerid,0xAA3333AA,"Willkommen in der Deathmatch Zone.");
return 1;
}
if( strcmp( cmdtext, "/war", true) == 0)
{
SetPlayerPos(playerid,-1341.4237060547,508.67025756836,11.359897613525,0,0,0);
GivePlayerWeapon(playerid,WEAPON_DEAGLE,700);
SendClientMessage(playerid,0xAA3333AA,"Willkommen in der War Zone.");
return 1;
}
if( strcmp( cmdtext, "/exit", true) == 0)
{
SetPlayerPos(playerid,-2552.1787109375,1445.1993408203,6.7275428771973);
SendClientMessage(playerid,0xAA3333AA,"Du bist wieder in Freiheit.");
ResetPlayerWeapons(playerid);
return 1;
}
//-------------------------------------------------
{
CreateObject(980,213.21867370605,1875.2908935547,13.170351028442,0,0,0); //object (airportgate) (1)
CreateObject(980,268.18222045898,1882.3433837891,16.171449661255,90,0,0); //object (airportgate) (2)
CreateObject(980,267.94653320313,1886.6618652344,16.150659561157,90,0,0); //object (airportgate) (3)
CreateObject(974,238.40441894531,1857.5861816406,16.668365478516,0,0,93.294494628906); //object (tall_fence) (1)
CreateObject(980,-1335.2244873047,487.44613647461,11.710891723633,0,0,180.63403320313); //object (airportgate) (1)
CreateObject(980,-1421.8233642578,494.75900268555,3.25,0,0,89.324493408203); //object (airportgate) (2)
CreateObject(980,-1324.5572509766,515.220703125,11.704235076904,0,0,0); //object (airportgate) (3)
CreateObject(980,-1366.4265136719,514.3671875,12.460891723633,0,0,0); //object (airportgate) (4)
CreateObject(980,-1419.8131103516,514.23883056641,12.789016723633,0,0,0); //object (airportgate) (5)
CreateObject(980,-1409.2612304688,514.24676513672,12.789016723633,0,0,0); //object (airportgate) (6)
CreateObject(980,-1345.6018066406,499.35507202148,17.921829223633,0,0,0); //object (airportgate) (7)
}
return 1;
}
//-----------------------
//EOF
#endif