Beiträge von Fabi.StaR
-
-
dank dir
hast ne PN von mir -
das problem ist das ich nicht auf den Server Connecten kann
-
-
Guten Abend.
Wenn ich auf den Server Connecte kommt nur diese:
Screen:Sonst kommt nix
Server log:
Code----------Loaded log file: "server_log.txt".----------SA-MP Dedicated Server----------------------v0.3x, (C)2005-2013 SA-MP Team[23:15:58] filterscripts = "" (string)[23:15:58] [23:15:58] Server Plugins[23:15:58] --------------[23:15:58] Loaded 0 plugins.[23:15:58] [23:15:58] Filterscripts[23:15:58] ---------------[23:15:58] Loaded 0 filterscripts.[23:15:58] CarInfo: 184 Owner:Dealership LicensePlate [23:15:58] CarInfo: 185 Owner:Dealership LicensePlate [23:15:58] CarInfo: 186 Owner:Dealership LicensePlate [23:15:58] CarInfo: 187 Owner:Allen_Smith LicensePlate [23:15:58] CarInfo: 188 Owner:Dealership LicensePlate [23:15:58] CarInfo: 189 Owner:Jordan_Edwards LicensePlate [23:15:58] CarInfo: 190 Owner:Dealership LicensePlate [23:15:58] CarInfo: 191 Owner:Amadeo_Gonzalez LicensePlate [23:15:58] CarInfo: 192 Owner:Dealership LicensePlate [23:15:58] CarInfo: 193 Owner:Jordan_Edwards LicensePlate [23:15:58] CarInfo: 194 Owner:Dealership LicensePlate [23:15:58] CarInfo: 195 Owner:Dealership LicensePlate [23:15:58] CarInfo: 196 Owner:Dealership LicensePlate [23:15:58] CarInfo: 197 Owner:Dealership LicensePlate [23:15:58] CarInfo: 198 Owner:Dealership LicensePlate [23:15:58] CarInfo: 199 Owner:Dealership LicensePlate [23:15:58] CarInfo: 200 Owner:Dealership LicensePlate [23:15:58] CarInfo: 201 Owner:Dealership LicensePlate [23:15:58] CarInfo: 202 Owner:Jope_Boyy LicensePlate [23:15:58] CarInfo: 203 Owner:Dealership LicensePlate [23:15:58] CarInfo: 204 Owner:Dealership LicensePlate [23:15:58] CarInfo: 205 Owner:Dealership LicensePlate [23:15:58] CarInfo: 206 Owner:Hakeem_Seriki LicensePlate [23:15:58] CarInfo: 207 Owner:Dealership LicensePlate [23:15:58] CarInfo: 208 Owner:Dealership LicensePlate [23:15:58] CarInfo: 209 Owner:Dealership LicensePlate [23:15:58] CarInfo: 210 Owner:Dealership LicensePlate [23:15:58] CarInfo: 211 Owner:Dealership LicensePlate [23:15:58] CarInfo: 212 Owner:Dealership LicensePlate [23:15:58] CarInfo: 213 Owner:James_Forest LicensePlate [23:15:58] CarInfo: 214 Owner:Dealership LicensePlate [23:15:58] CarInfo: 215 Owner:Dealership LicensePlate [23:15:58] CarInfo: 216 Owner:Dealership LicensePlate [23:15:58] CarInfo: 217 Owner:Dealership LicensePlate [23:15:58] CarInfo: 218 Owner:Dealership LicensePlate [23:15:58] CarInfo: 219 Owner:Dealership LicensePlate [23:15:58] CarInfo: 220 Owner:Dealership LicensePlate [23:15:58] CarInfo: 221 Owner:Dealership LicensePlate [23:15:58] CarInfo: 222 Owner:Dealership LicensePlate [23:15:58] CarInfo: 223 Owner:Jordan_Edwards LicensePlate [23:15:58] CarInfo: 224 Owner:Dealership LicensePlate [23:15:58] CarInfo: 225 Owner:Dealership LicensePlate [23:15:58] CarInfo: 226 Owner:Dealership LicensePlate [23:15:58] CarInfo: 227 Owner:Dealership LicensePlate [23:15:58] CarInfo: 228 Owner:Dealership LicensePlate [23:15:58] CarInfo: 229 Owner:Dealership LicensePlate [23:15:58] CarInfo: 230 Owner:Dealership LicensePlate [23:15:58] CarInfo: 231 Owner:Dealership LicensePlate [23:15:58] CarInfo: 232 Owner:Dealership LicensePlate [23:15:58] CarInfo: 233 Owner:Dealership LicensePlate [23:15:58] CarInfo: 234 Owner:Dealership LicensePlate [23:15:58] CarInfo: 235 Owner:Dealership LicensePlate [23:15:58] CarInfo: 236 Owner:Dealership LicensePlate [23:15:58] CarInfo: 237 Owner:Dealership LicensePlate [23:15:58] CarInfo: 238 Owner:Burkhard_Walker LicensePlate [23:15:58] CarInfo: 239 Owner:Jope_Boyy LicensePlate [23:15:58] CarInfo: 240 Owner:Dealership LicensePlate [23:15:58] CarInfo: 241 Owner:Dealership LicensePlate [23:15:58] CarInfo: 242 Owner:Dealership LicensePlate [23:15:58] CarInfo: 243 Owner:Dealership LicensePlate [23:15:58] CarInfo: 244 Owner:Dealership LicensePlate [23:15:58] CarInfo: 245 Owner:Dealership LicensePlate [23:15:58] CarInfo: 246 Owner:Dealership LicensePlate [23:15:58] CarInfo: 247 Owner:Dealership LicensePlate [23:15:58] CarInfo: 248 Owner:Dealership LicensePlate [23:15:58] CarInfo: 249 Owner:Dealership LicensePlate [23:15:58] CarInfo: 250 Owner:Amadeo_Gonzalez LicensePlate [23:15:58] CarInfo: 251 Owner:Dealership LicensePlate [23:15:58] CarInfo: 252 Owner:Dealership LicensePlate [23:15:58] CarInfo: 253 Owner:Dealership LicensePlate [23:15:58] CarInfo: 254 Owner:Dealership LicensePlate [23:15:58] CarInfo: 255 Owner:Dealership LicensePlate [23:15:58] CarInfo: 256 Owner:Dealership LicensePlate [23:15:58] CarInfo: 257 Owner:Dealership LicensePlate [23:15:58] CarInfo: 258 Owner:Dealership LicensePlate [23:15:58] CarInfo: 259 Owner:Dealership LicensePlate [23:15:58] CarInfo: 260 Owner:Dealership LicensePlate [23:15:58] CarInfo: 261 Owner:Dealership LicensePlate [23:15:58] CarInfo: 262 Owner:Dealership LicensePlate [23:15:58] CarInfo: 263 Owner:Dealership LicensePlate [23:15:58] CarInfo: 264 Owner:Dealership LicensePlate [23:15:58] CarInfo: 265 Owner:Dealership LicensePlate [23:15:58] CarInfo: 266 Owner:Dealership LicensePlate [23:15:58] CarInfo: 267 Owner:Dealership LicensePlate [23:15:58] HouseInfo:0 Owner:The State hTakings 182 hVec 418[23:15:58] HouseInfo:1 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:2 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:3 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:4 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:5 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:6 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:7 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:8 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:9 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:10 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:11 Owner:The State hTakings 59560 hVec 418[23:15:58] HouseInfo:12 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:13 Owner:The State hTakings 27500 hVec 418[23:15:58] HouseInfo:14 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:15 Owner:The State hTakings 11000 hVec 418[23:15:58] HouseInfo:16 Owner:The State hTakings 200 hVec 418[23:15:58] HouseInfo:17 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:18 Owner:The State hTakings 60000 hVec 418[23:15:58] HouseInfo:19 Owner:The State hTakings 213000 hVec 418[23:15:58] HouseInfo:20 Owner:The State hTakings 245900 hVec 418[23:15:58] HouseInfo:21 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:22 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:23 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:24 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:25 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:26 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:27 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:28 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:29 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:30 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:31 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:32 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:33 Owner:The State hTakings 0 hVec 418[23:15:58] HouseInfo:34 Owner:The State hTakings 0 hVec 418[23:15:58] BizzInfo:0 Owner:The State Message:~w~Gun Shop 1 Entfee:0 Till:0 Products:100/500 Interior:1.[23:15:58] BizzInfo:1 Owner:The State Message:~w~Gun Shop 2 Entfee:0 Till:0 Products:100/500 Interior:4.[23:15:58] BizzInfo:2 Owner:The State Message:~w~Restaurant Entfee:0 Till:0 Products:100/500 Interior:1.[23:15:58] BizzInfo:3 Owner:The State Message:~w~Police Armoury Entfee:0 Till:0 Products:500/500 Interior:10.[23:15:58] BizzInfo:4 Owner:The State Message:~w~City Bank Entfee:0 Till:0 Products:99998/100000 Interior:0.[23:15:58] BizzInfo:5 Owner:The State Message:~w~The Welcome Pump bar Entfee:0 Till:0 Products:499/500 Interior:18.[23:15:58] SBizzInfo:0 Owner:The State Message:~w~Bikes renting Entfee:5 Till:445 Products:0/100 Interior:0.[23:15:58] SBizzInfo:1 Owner:The State Message:~w~Wang Cars Entfee:30 Till:1050 Products:56/100 Interior:0.[23:15:58] SBizzInfo:2 Owner:The State Message:~w~Phone Company Entfee:0 Till:45 Products:100/100 Interior:0.[23:15:58] SBizzInfo:3 Owner:The State Message:~w~Gas Company Entfee:1 Till:8546 Products:100/100 Interior:0.[23:15:58] SBizzInfo:4 Owner:The State Message:~w~Electricity Company Entfee:0 Till:59402 Products:100/100 Interior:0.[23:15:58] SBizzInfo:5 Owner:The State Message:~w~Pay & Spray Entfee:1 Till:1 Products:99/100 Interior:0.[23:15:58] SBizzInfo:6 Owner:The State Message:~w~House Upgrade Entfee:0 Till:51500 Products:100/100 Interior:0.[23:15:58] SBizzInfo:7 Owner:The State Message:~w~CNN Studio Entfee:0 Till:24725 Products:100/100 Interior:0.[23:15:58] SBizzInfo:8 Owner:No-One Message:Un Named Entfee:0 Till:250 Products:97/100 Interior:0.[23:15:58] SBizzInfo:9 Owner:The State Message:~w~General Store Entfee:0 Till:352000 Products:100/100 Interior:0.[23:15:58] SBizzInfo:10 Owner:The State Message:~w~Paintball Arena Entfee:0 Till:0 Products:100/100 Interior:0.[23:15:58] SBizzInfo:11 Owner:The State Message:~w~Kart Track Entfee:0 Till:0 Products:100/100 Interior:0.[23:15:58] Family:0 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:1 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:2 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:3 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:4 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:5 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:6 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:7 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:8 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] Family:9 Taken: 0 Name:None MOTD:None Leader:None Members:0 SpawnX:0.000000 SpawnY:0.000000 SpawnZ:0.000000 Int:0[23:15:58] CK:0 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:1 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:2 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:3 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:4 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:5 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:6 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:7 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:8 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] CK:9 Taken: 0 Sendername:No-one Giveplayer: No-one[23:15:58] Paper:0 Used: 1 Maker:Takuma_Sato Title: jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Text1: fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Text2: Text3: Text4: Text5: Text6: Text7: [23:15:58] Paper:1 Used: 0 Maker:0 Title: jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Text1: fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Text2: Text3: Text4: Text5: Text6: Text7: [23:15:58] Paper:2 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0[23:15:58] Paper:3 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye[23:15:58] Paper:4 Used: 0 Maker:øÔÄ0 Title: 0 Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye[23:15:58] Paper:5 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0[23:15:58] Paper:6 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye[23:15:58] Paper:7 Used: 0 Maker:øÔÄ0 Title: 0 Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye[23:15:58] Paper:8 Used: 0 Maker:No Title. Title: I have no text inserted here yet. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here ye Text7: 0[23:15:58] Paper:9 Used: 0 Maker:No-one. Title: No Title. Text1: I have no text inserted here yet. Text2: I have no text inserted here yet. Text3: I have no text inserted here yet. Text4: I have no text inserted here yet. Text5: I have no text inserted here yet. Text6: I have no text inserted here yet. Text7: I have no text inserted here ye[23:15:58] weburl = "www.sa-mp.com" (string)[23:15:58] EnableTirePopping() function is removed.[23:15:58] Warning: EnableZoneNames() is removed since 0.3[23:15:58] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()[23:15:58] Loading 133 pickups... Loaded successfuly ![23:15:58] [23:15:58] Los Angeles Roleplay [23:15:58] ___________________________[23:15:58] By: Ellis & Hoodstar[23:15:58] [23:15:58] Number of vehicle models: 86
Ich hoffe mir kann jemand helfe
-
ich als lade die coords mit MYSQL_R5 wenn du mal richtig durchlessen würdest
-
Verbindung zur Datenbank steht?
Und printet er denn folgendes ?
return printf("* Es wurden %i Gangfight Gebiete geladen & erstellt. *", id);Ja sie steht
-
ich finde es echt genial 10/10 Fischen
ps. hast ne PN von mir
-
Sehr nice.
10/10 Fischen.
hast ne pn bitte antworten
-
Server ip :
server.german-roleplay.net:7777
-
Kannst du mir bitte den code geben fpr den Kanister? kann es nicht finden -.-
-
Kannst du mir das filterscript geben was im Video von:
http://www.youtube.com/watch?f…er_embedded&v=yQiopHgT5-w
ist?
-
Guten Morgen,
ich bin dabei ein gangfight system zu schreiben aber sie werden nicht erstelltHir mein code:
Spoiler anzeigen #include <a_samp>
#include <mysql>
#include <ocmd>
#include <color>Spoiler anzeigen #define Function%0(%1) forward%0(%1); public%0(%1)Spoiler anzeigen #define MySQLHost "localhost"
#define MySQLUser "root"
#define MySQLPass ""
#define MySQLData "samp_db"Spoiler anzeigen main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}Spoiler anzeigen #define GangZonen 400Spoiler anzeigen enum gebiet {
gOwner,
Float:gMinX,
Float:gMinY,
Float:gMaxX,
Float:gMaxY,
// Float:flPOSX,
// Float:flPOSY,
Float:flPOSZ,
gOn,
gStand1,
gStand2,
gAngreifer,
Gebiet
};
new GangfightGebiete[GangZonen][gebiet];Spoiler anzeigen new pLeader[MAX_PLAYERS];Spoiler anzeigen public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
Connect_To_Database();
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
LoadGangFightZonen();
SetTimer("UpdateGangFightZones",10000,1);
return 1;
}Spoiler anzeigen public OnGameModeExit()
{
return 1;
}Spoiler anzeigen 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;
}Spoiler anzeigen public OnPlayerConnect(playerid)
{
return 1;
}Spoiler anzeigen public OnPlayerDisconnect(playerid, reason)
{
return 1;
}Spoiler anzeigen public OnPlayerSpawn(playerid)
{
for(new i; i<sizeof(GangfightGebiete); i++)//Damit alle gebiete durchlaufen werden
{
new color;
if(GangfightGebiete[i][gOwner] == 5){color=0x000000B2;}
if(GangfightGebiete[i][gOwner] == 6){color=0xFFFFFFB2;}
GangZoneShowForPlayer(playerid, GangfightGebiete[i][Gebiet], color);
}
return 1;
}Spoiler anzeigen public OnPlayerDeath(playerid, killerid, reason)
{
for(new i; i<sizeof(GangfightGebiete); i++)
{
GangZoneHideForPlayer(playerid,GangfightGebiete[i][Gebiet]);//Für wenn das Gebiet versteckt werden soll.... und welches Gebiet
}
return 1;
}Spoiler anzeigen public OnVehicleSpawn(vehicleid)
{
return 1;
}Spoiler anzeigen public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}Spoiler anzeigen public OnPlayerText(playerid, text[])
{
return 1;
}Spoiler anzeigen public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}Spoiler anzeigen public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}Spoiler anzeigen public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}Spoiler anzeigen public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}Spoiler anzeigen public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}Spoiler anzeigen public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}Spoiler anzeigen public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}Spoiler anzeigen public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}Spoiler anzeigen public OnRconCommand(cmd[])
{
return 1;
}Spoiler anzeigen public OnPlayerRequestSpawn(playerid)
{
return 1;
}Spoiler anzeigen public OnObjectMoved(objectid)
{
return 1;
}Spoiler anzeigen public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}Spoiler anzeigen public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}Spoiler anzeigen public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}Spoiler anzeigen public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}Spoiler anzeigen public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}Spoiler anzeigen public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}Spoiler anzeigen public OnPlayerExitedMenu(playerid)
{
return 1;
}Spoiler anzeigen public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}Spoiler anzeigen public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}Spoiler anzeigen public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}Spoiler anzeigen public OnPlayerUpdate(playerid)
{
return 1;
}Spoiler anzeigen public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}Spoiler anzeigen public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}Spoiler anzeigen public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}Spoiler anzeigen public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}Spoiler anzeigen public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}Spoiler anzeigen public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}Spoiler anzeigen forward UpdateZones();
public UpdateZones()
{
for(new player; player < MAX_PLAYERS; player++)//Damit alle Spieler durchlaufen werden
{
for(new i; i<sizeof(GangfightGebiete); i++)//Damit alle Gebiete durchlaufen werden
{
GangZoneHideForPlayer(player,GangfightGebiete[i][Gebiet]);//Damit werden alle Gebiete für alle User versteckt
new color;//Erstellt eine neue Variable
if(GangfightGebiete[i][gOwner] == 5){color=0x000000B2;}//Fragt ab welcher Frak das Gebiet gehört
if(GangfightGebiete[i][gOwner] == 6){color=0xFFFFFFB2;}
GangZoneShowForPlayer(player, GangfightGebiete[i][Gebiet], color); //Zeigt die Zone f ür die Spieler wieder mit der neuen/alten Farbe
if(GangfightGebiete[i][gOn] == 1)//Fragt ab ob Gangfight in einem Gebiet läuft
{
if(GangfightGebiete[i][gAngreifer] == 5){color=0x000000B2;}//Fragt ab welche Frak das Gebiet angreift und setzt die Farbe
if(GangfightGebiete[i][gAngreifer] == 6){color=0xFFFFFFB2;}
GangZoneFlashForPlayer(player,GangfightGebiete[i][Gebiet],color);//"Flasht die Zone" in der Angreifer Farbe und Owner Farbe
}
}
}
}Spoiler anzeigen stock IsPlayerInGebiet(playerid)//Funktion bennen mit den jeweiligen Variablen oder auch Parameter genannt.
{
for(new i;i<sizeof(GangfightGebiete);i++)//Damit wieder nach allen Zonen geschaut wird.
{
new Float:GetX,Float:GetY,Float:GetZ;//Neue Float Variablen erstellen, damit wir dort die Positionen des Spielers speichern können
GetPlayerPos(playerid,GetX,GetY,GetZ);//Die Position des Spielers in den oben genannten Variablen speichern.
if(GangfightGebiete[i][gMinX] < GetX && GangfightGebiete[i][gMaxX] > GetX && GangfightGebiete[i][gMinY] < GetY && GangfightGebiete[i][gMaxY] > GetY)//Hier wird abgefragt ob die Spielerkooridnanten in dem Bereich der Gangzone sind.
{
return i;//Hier wird die Gebietsid returned
}
return -1;//Wenn der nirgendwo drin ist wird halt -1 returned damit wir einen unterschied haben
}
return -1;//Siehe oben
}
ocmd:team1(playerid,params[]) {
pLeader[playerid] = 6;
return 1;
}
ocmd:team(playerid,params[]) {
pLeader[playerid] = 5;
return 1;
}
ocmd:gw(playerid,params[])
{
#pragma unused params
if(pLeader[playerid] == 5||pLeader[playerid] == 6)//Hier wird abefragt welche Fraktion einen Gangfight starten darf
{
if(IsPlayerInGebiet(playerid) > -1)//Ob der Spieler in einem Gebiet ist.
{
new zone = IsPlayerInGebiet(playerid);//Die Gebietsid wird in der Variable zone gespeichert.
if(GangfightGebiete[zone][gOn] == 1) return SendClientMessage(playerid,COLOR_LIGHTBLUE,"Das Gebiet wird schon Umkämpft!");//Hier wird abgefragt ob das Gebiet schon bekämpft wird
if(GangfightGebiete[zone][gOwner] == pLeader[playerid]) return SendClientMessage(playerid,COLOR_LIGHTBLUE," Deine Fraktion ist im Besitzt dieses Gebietes");//Hier wird abgefragt ob die Fraktion schon im besitzt dieser Funktion ist
GangfightGebiete[zone][gAngreifer] = pLeader[playerid];//Hier wird der Angreifer gesetzt.
GangfightGebiete[zone][gOn] = 1;//Das der Gangfight für dieses Gebiet läuft
SetTimerEx("GangFight",3600000,0,"i",zone); //Dies startet einen Timer der eine Stunde läuft , damit beenden wir den Gangifght. Die Zoneid wird mit übergeben
for(new i; i<MAX_PLAYERS; i++)//Damit jeder Spieler abgefragt wird
{
if(pLeader[playerid] == GangfightGebiete[zone][gOwner] /*|| PlayerInfo[i][pMember] == GangfightGebiete[zone][gOwner]*/)//Ob spieler oder Leader in dieser Fraktion ist
{
SendClientMessage(playerid,COLOR_RED,"Eines ihrer Gebiete wird angegriffen.");//Sendet eine Mitteilung
}
if(pLeader[playerid] == GangfightGebiete[zone][gAngreifer] /*||PlayerInfo[i][pMember] == GangfightGebiete[zone][gAngreifer]*/)//siehe oben
{
SendClientMessage(playerid,COLOR_RED,"Dein Leader hat ein Gangwar gestartet!");
}
}
}
}
return 1;
}
Function LoadGangFightZonen()
{
new id=0;
mysql_query( "SELECT * FROM `GangFightGebiete`");
mysql_store_result();
while(mysql_retrieve_row())//lauf durch alle zeilen durch
{
new tmpa[128];
mysql_fetch_field_row(tmpa, "Owner");
GangfightGebiete[id][gOwner] = strval(tmpa);
mysql_fetch_field_row(tmpa, "gMinX");
GangfightGebiete[id][gMinX] = floatstr(tmpa);
mysql_fetch_field_row(tmpa, "gMiniY");
GangfightGebiete[id][gMinY] = floatstr(tmpa);
mysql_fetch_field_row(tmpa, "gMaxX");
GangfightGebiete[id][gMaxX] = floatstr(tmpa);
mysql_fetch_field_row(tmpa, "gMaxY");
GangfightGebiete[id][gMaxY] = floatstr(tmpa);
GangfightGebiete[id][Gebiet] = GangZoneCreate(GangfightGebiete[id][gMinX],GangfightGebiete[id][gMinY],GangfightGebiete[id][gMaxX],GangfightGebiete[id][gMaxY]); // Hier wird eine Zone erstellt die in der Variable Gebiet gespeichert wird !
id++;
}
mysql_free_result();
return printf("* Es wurden %i Gangfight Gebiete geladen & erstellt. *", id);
}Spoiler anzeigen stock Connect_To_Database()
{
mysql_connect(MySQLHost, MySQLUser, MySQLData,MySQLPass);
if(mysql_ping() == 1)
{
print("<-| [MYSQL] Verbindung zur Datenbank wurde erfolgreich hergestellt!");
return true;
}
else
{
print("<-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!");
print("<-| [MYSQL] Es wird erneut versucht eine Verbindung zur Datenbank herzustellen!");
mysql_connect(MySQLHost, MySQLUser, MySQLData,MySQLPass);
if(mysql_ping() == 1)
{
print("<-| [MYSQL] Es konnte im 2 Versuch eine Verbindung hergestellt werden!");
return true;
}
else
{
print("<-| [MYSQL] Es konnte keine Verbindung zur Datenbank hergestellt werden!");
print("<-| [MYSQL] Der Server wird nun beendet!");
SendRconCommand("exit");
return true;
}
}
}
Ich bedanke mich bei jeden der mir helfen kann
-
Ich glaube er meint den Benzin Kanister oda ?
Das würde mich nähmlich auch mal interessierenmfg CoreX
ja genauder rest is einfach
-
Guten Morgen,
wie bekommt man so ein Tacho hin mit den bildern?
Screen:
-
Ich habe es jetzt so gemacht:
bei OnplayerConnect:
public OnPlayerConnect(playerid)
{
SpawnPlayer(playerid);
return 1;
}Bei OnPlayerSpawn:
if(PlayerLogged[playerid] == 0) {
FreezePlayer(playerid);
TextDrawShowForPlayer(playerid, PlayerInfo[playerid][LetterboxTop]);
TextDrawShowForPlayer(playerid, PlayerInfo[playerid][LetterboxBottom]);
ClearChatbox(playerid, 10);
ShowPlayerDialog(playerid,DIALOG_REGELN,DIALOG_STYLE_MSGBOX,"City of Roleplay: Willkommen","Herzlich Willkommen auf dem German Elite Reallife Server!\n\nBitte warte einen Moment, es wird gerade geprüft, ob du schon einen Account hast.\nSobald die Überprüfung beendet ist, kannst du über Login dich Registrieren oder Einloggen.\n\nMit freundlichen Grüßen,\nDas Admin Team.","Login","Verlassen");
}geht aber nicht die Textdraws werde nicht angezeigt
-
falscher screen hit der unter Textdraw über die skin auswahl?
-
Guten Morgen,
wie bekomme ich den Dialog über den spawn buttom????
Bild:
mfg. Fabi.StaR
-
warum pw ändern`??
-
Passwort nein Benutzer name is root