Beiträge von Pseudynom
-
-
@ Crank1221 Ich find bei online FPS hacker ganz lustig, vor allem die, die hacken und trotzdem nichts gebacken bekommen
-
SimCiti 4 (Deluxe Edition) (besser als Societys, da 4 viel komplexer ist und man mehr Möglichkeiten hat)
Minecraft
SWAT4
Combat Arms (free FPS)
Battlefield Heroes
Emergency 4
APB reloaded
War Rock
TrackMania
Warmux
... -
Danke für die schnellen antworten.
C
Alles anzeigen// This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #include <dini> #include <ocmd> #define COLOR_ROT 0xFF0000FF #define COLOR_GELB 0xFFFF00FF #define COLOR_BLAU 0x0000FFFF #define COLOR_SCHWARZ 0x000000FF #define COLOR_WEISS 0xFFFFFFFF #define COLOR_ORANGE 0xFF8000FF #define COLOR_GRUEN 0x00FF00FF #define COLOR_LILA 0x7B00FFFF #define COLOR_ROSE 0xFF4DFFFF #define COLOR_HELLBLAU 0x0050FFFF #define COLOR_GRAU 0xA0A0A0FF new bool:checka=true; new Text3D:ahilabel[1]; new Text3D:carlabel[1][2]; enum ENUM_AH_CARDATA { AH_CD_AUTO, AH_CD_NAME, AH_CD_PREIS } new shopcars[1][32][ENUM_AH_CARDATA]; public OnFilterScriptInit() { print("\n--------------------------------------"); print(" AutoSystem"); print("--------------------------------------\n"); for(new i=0;checka==true;i++) { if(dini_Exists(AutohausPath(i))) { checka=true; new Float:iX=dini_Float(AutohausPath(i),"ipointX"); new Float:iY=dini_Float(AutohausPath(i),"ipointY"); new Float:iZ=dini_Float(AutohausPath(i),"ipointZ"); CreatePickup(1210,1,iX,iY,iZ,0); ahilabel[i]=Create3DTextLabel(dini_Get(AutohausPath(i),"ahname"),COLOR_GELB,iX,iY,iZ,20.0,0,0); } else { checka=false; } for(new z=0; z<dini_Int(AutohausPath(i),"cars") && checka==true;z++) { new vid=dini_Int(AutohausPath(i),AhAdd("vid",z)); new Float:vX=dini_Float(AutohausPath(i),AhAdd("vX",z)); new Float:vY=dini_Float(AutohausPath(i),AhAdd("vY",z)); new Float:vZ=dini_Float(AutohausPath(i),AhAdd("vZ",z)); new Float:vR=dini_Float(AutohausPath(i),AhAdd("vR",z)); new acolor=dini_Int(AutohausPath(i),AhAdd("acolor",z)); new bcolor=dini_Int(AutohausPath(i),AhAdd("bcolor",z)); new respawnd=dini_Int(AutohausPath(i),AhAdd("respawn",z)); shopcars[i][z][AH_CD_AUTO]=CreateVehicle(vid,vX,vY,vZ,vR,acolor,bcolor,respawnd); SetVehicleParamsEx(shopcars[i][z][AH_CD_AUTO],0,0,0,0,0,0,0); shopcars[i][z][AH_CD_PREIS]=strval(dini_Get(AutohausPath(i),AhAdd("price",z))); shopcars[i][z][AH_CD_NAME]=strval(dini_Get(AutohausPath(i),AhAdd("vname",z))); new labelstr[64]; format(labelstr,sizeof(labelstr),"%s\nPreis: %s",shopcars[i][z][AH_CD_NAME],shopcars[i][z][AH_CD_PREIS]); carlabel[i][z]=Create3DTextLabel(shopcars[i][z][AH_CD_NAME],COLOR_GELB,vX,vY,vZ,20.0,0,0); } } return 1; } public OnFilterScriptExit() { return 1; } public OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerRequestClass(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) { SpawnPlayer(playerid); return 1; } return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; } stock SpielerName(playerid) { new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid,playername,sizeof(playername)); return playername; } stock AhAdd(stringa[],iindex) { new resul[64]; format(resul,sizeof(resul),"%s%i",stringa,iindex); return resul; } stock AccountPath(playerid) { new path[64]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(path,sizeof(path),"/Player/%s.acc",pname); return path; } stock AutohausPath(zahl) { new path[64]; format(path,sizeof(path),"/Autohaus/autohaus%i.ini",zahl); return path; } stock PVehiclePath(playerid) { new path[64]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(path,sizeof(path),"/Player/Cars/%s.ini",pname); return path; } stock CheckPlayerAdminlvl(playerid,required) { if(dini_Int(AccountPath(playerid),"adminlvl")>=required) return 1; return 0; }
also
ich hab diverse methoden/funktionen mit 0 returnen lassen und es klappt nicht.Manchmal spawnt man wo man soll (im Gamemode festgelegt) und manchmal in LV bei so einer Rolltreppe.
MfG
Und danke -
Hallo,
Ich habe folgendes Problem:
Wenn ich ein FilterScript via der server.cfg einbinde, spawne ich an einer anderen Stelle (in LV, Gamemode und Filterscript sind selfmade).
Ich hoffe ihr könnt mir helfen.MfG