Beiträge von [GLR]WiZZY.
-
-
Wie soll ich das den definieren ? kenne mich dabei nicht gut aus xD
-
Heeeyhooo
Ich hab heute ein /flock System reingehauen aber ich bekam 4 Errors.
(14987) : error 017: undefined symbol "FactionCars"
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(14987) : error 036: empty statement
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(14987) : error 017: undefined symbol "fc"
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(14987) : fatal error 107: too many error messages on one lineif(strcmp(cmdtext,"/flock",true)==0){
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
for(new fc;fc<sizeof(FactionCars);fc++){
if(FactionCars[fc][fVehid] >= 400 && FactionCars[fc][fVehid] <= 611){
if(GetPlayerVehicleID(playerid) == FactionCars[fc][fCarid]){
for(new f;f<5;f++){
if(GetPlayerAdmin(playerid) >= NEEDED_ADMINLEVEL || GetPlayerFaction(playerid) == FactionCars[fc][fFaction][f]){
PlayerPlaySound(playerid,1145,0.0,0.0,0.0);
if(FactionCars[fc][fLock] == true){
FactionCars[fc][fLock] = false;
fUnlockCar(FactionCars[fc][fCarid]);
GameTextForPlayer(playerid,"~w~Fahrzeug~n~~g~Aufgeschlossen",5000,3);
}
else if(FactionCars[fc][fLock] == false){
fLockCar(FactionCars[fc][fCarid]);
FactionCars[fc][fLock] = true;
GameTextForPlayer(playerid,"~w~Fahrzeug~n~~r~Abgeschlossen",5000,3);
}break;
}
}return true;
}
}
}SendClientMessage(playerid,FACTION_COL_GREY,"Du sitzt in keinem Fraktionsfahrzeug!");
}else{
if(GetPlayerState(playerid)==PLAYER_STATE_PASSENGER)
SendClientMessage(playerid,FACTION_COL_GREY,"Du musst der Fahrer dieses Fahrzeuges sein.");
else
SendClientMessage(playerid,FACTION_COL_GREY,"Du muss in einem Fahrzeug sitzen.");
}return true;
} -
Heyho,
Ich brauche die ganze neuste Version von SA:MP also genau 0.3z
MfG,
WiZZY.
-
Thanks, es funktioniert
-
new HatSupmobil[MAX_PLAYERS];
new SupMobil; -
Jo ich hab ein Problem bei /supcar
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(18874) : error 028: invalid subscript (not an array or too many subscripts): "SupMobil"
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(18874) : warning 215: expression has no effect
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(18874) : error 001: expected token: ";", but found "]"
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(18874) : error 029: invalid expression, assumed zero
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(18874) : fatal error 107: too many error messages on one lineif (strcmp(cmd, "/supmobil", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pSupporter] >= 1)
{
if(PlayerInfo[playerid][pJailed] > 0)
{
SendClientMessage(playerid, COLOR_GREY, "* Du darfst im Knast kein Supporterfahrzeug spawnen");
}
else if(GetPlayerInterior(playerid) > 0)
{
SendClientMessage(playerid, COLOR_GREY, "* Guter Versuch");
}
if(HatSupmobil[playerid]==0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x,y,z);
SupMobil[playerid] = CreateVehicle(583, x+1,y+1,z+1,0.0,-1,-1,-1); //HIER
SendClientMessage(playerid, Blau, "SERVER: {FFFFFF}Du hast dir ein Supportermobil gespawnt!");
HatSupmobil[playerid] = 1;
}
else if(HatSupmobil[playerid]==1)
{
DestroyVehicle(SupMobil[playerid]);
HatSupmobil[playerid] = 0;
SendClientMessage(playerid, Blau, "SERVER: {FFFFFF}Du hast dein Supportermobil gelöscht!");
}
}
else
{
SendClientMessage(playerid,COLOR_GREY,"* Du bist kein Admin");
}
return 1;
}MfG
-
2 Errors
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(919) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(950) : error 052: multi-dimensional arrays must be fully initializednew Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][4] = {
{//2Räder LS
{1231.1697,-1419.5529,12.9558, 0.0},
{1231.2817,-1422.3464,12.9940, 0.0},
{1230.8728,-1424.6959,13.0207, 0.0},
{1230.6115,-1426.9005,13.0612, 0.0}
},
{//LS CarSeller
{2822.0322, -1091.7185, 30.4274, 178.7226},
{2822.2390, -1082.3268, 30.4246, 178.7900},
{2815.1428, -1084.2802, 30.4481, 182.4011},
{2815.5940, -1095.0559, 30.4346, 182.3656}
},
{//LS Studio
{1706.6991, -1536.8207, 13.2499, 180.0},
{1707.0038, -1527.1498, 13.2627, 180.0},
{1706.9299, -1517.1089, 13.2641, 180.0},
{1706.9113, -1506.6943, 13.2641, 180.0}
},
{//LS AIRPORT
{1725.5981,-2414.4631,13.5547,91.2938},
{1648.4031,-2413.2231,13.5547,91.2938},
{1566.8810,-2416.3340,13.5547,89.3299},
{1899.1111,-2374.5435,13.8934,270.3974}
}
}; //HIER{//LS AIRPORT
{1768.4802,-2433.6174,13.5547,358.4647}, // Info Zeichen etc.
{1765.1451,-2286.7554,26.7960,313.5673}, // LiveView Car
{1765.4340,-2271.0989,31.0900,181.3627}, // LiveView Cam
{1765.4340,-2271.0989,31.0900,181.3627}, // LiveView Player
{1778.3945,-2432.7996,13.5547,171.6871} // LiveView Player Exit
}
}; //HIER -
Heyho ,
Ich brauche eure Hilfe
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(887) : error 029: invalid expression, assumed zero
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(887) : error 008: must be a constant expression; assumed zero
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(913) : error 052: multi-dimensional arrays must be fully initialized
C:\Users\Mehmet Ali\Desktop\Script [GLR]RealLife\gamemodes\[GLR]RealLife.pwn(944) : error 052: multi-dimensional arrays must be fully initialized
{3,451,141500}, //Turismo
{3,558,47800}, //Uranus
{3,480,69500}, //Comet
{3,477,50000}, //Zr350
{3,565,14040}, //Flash
//2 = LS AIRPORT (Flugzeuge Helikopter)
{4,487,600000}, //Maverick
{4,469,300000}, //Spearrow
{4,519,950000}, //Shamal
}; //HIER
new Float:DtcParkPlatz[AUTOHAUSER][MAXPARKPLATZE][4] = {
{//2Räder LS
{1231.1697,-1419.5529,12.9558, 0.0},
{1231.2817,-1422.3464,12.9940, 0.0},
{1230.8728,-1424.6959,13.0207, 0.0},
{1230.6115,-1426.9005,13.0612, 0.0}
},
{//LS CarSeller
{2822.0322, -1091.7185, 30.4274, 178.7226},
{2822.2390, -1082.3268, 30.4246, 178.7900},
{2815.1428, -1084.2802, 30.4481, 182.4011},
{2815.5940, -1095.0559, 30.4346, 182.3656}
},
{//LS Studio
{1706.6991, -1536.8207, 13.2499, 180.0},
{1707.0038, -1527.1498, 13.2627, 180.0},
{1706.9299, -1517.1089, 13.2641, 180.0},
{1706.9113, -1506.6943, 13.2641, 180.0}
},
{//LS AIRPORT
{1725.5981,-2414.4631,13.5547,91.2938},
{1648.4031,-2413.2231,13.5547,91.2938},
{1566.8810,-2416.3340,13.5547,89.3299},
{1899.1111,-2374.5435,13.8934,270.3974}
}
}; //HIERnew Float:DtcSonstiges[AUTOHAUSER][5][4] = {
{//2Räder LS
{1219.4432, -1427.3168, 13.3602, 0.0}, // Info Zeichen etc.
{1219.3173, -1441.6929, 44.7522, 340.2388}, // LiveView Car
{1212.9812, -1443.4077, 45.1510, 0.0}, // LiveView Cam
{1209.7979, -1448.4766, 45.2224, 0.0}, // LiveView Player
{1219.2841, -1421.4926, 13.2727, 178.5745} // LiveView Player Exit
},
{//LS CarSeller
{2794.5720, -1087.7042, 30.7188, 0.0}, // Info Zeichen etc.
{2793.1926, -1074.0157, 93.9885, 301.3163}, // LiveView Car
{2795.6467, -1066.9978, 94.1871, 0.0}, // LiveView Cam
{2803.5083, -1067.1490, 94.1871, 0.0}, // LiveView Player
{2805.2322,-1089.1576,30.7310, 359.2809} // LiveView Player Exit
},
{//LS Studio
{1691.1931, -1518.4469, 13.5534, 0.0}, // Info Zeichen etc.
{1681.8058, -1515.9250, 18.2108, 225.3830}, // LiveView Car
{1680.5959, -1521.1073, 18.5469, 0.0}, // LiveView Cam
{1687.0474, -1521.8088, 18.5469, 0.0}, // LiveView Player
{1694.6262, -1524.6407, 13.5469, 14.7941} // LiveView Player Exit
},
{//LS AIRPORT
{1768.4802,-2433.6174,13.5547,358.4647}, // Info Zeichen etc.
{1765.1451,-2286.7554,26.7960,313.5673}, // LiveView Car
{1765.4340,-2271.0989,31.0900,181.3627}, // LiveView Cam
{1765.4340,-2271.0989,31.0900,181.3627}, // LiveView Player
{1778.3945,-2432.7996,13.5547,171.6871} // LiveView Player Exit
}
}; //HIERIch hoffe ihr könnt mir helfen
MfG,
WiZZY. -
9/10 echt Nice gemappt!
-
public OnRconLoginAttempt(ip[], password[], success)
{
if(!success)
{
printf("FAILED RCON LOGIN BY IP %s USING PASSWORD %s",ip, password);
new pip[16];
for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players
{
if(PlayerInfo[i][pAdmin] >= 2000) { }
else {
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true)) //If a player's IP is the IP that failed the login
{
SendClientMessage(i, COLOR_RED, "DAS IST STRENG VERBOTEN"); //Send a message
PlayerInfo[i][pGesperrt] = 1;
Kick(i);
}
}
}
}
return 1;
}public OnPlayerUpdate(playerid)
{
if(Desktop_Timer_Started[playerid] == 0)
{
Desktop_Timer[playerid] = SetTimerEx("Desktop_Function",1000,1,"d",playerid);
Desktop_Timer_Started[playerid] = 1;
}
Desktop_Check[playerid] += 1;
return 1;
} -
Guten Tag,
Ich versuche seit Tagen diesen Error hier zu lösen hoffentlich könnt ihr mir helfen
Zeile (64371) : error 075: input line too long (after substitutions)1 Errors, 2 Warnungen
Du hast Errors im Skript. Kompilierung abgebrochenPWNMod Compiler Version 1.2
(c) Trooper[Y]
In Kooperation mit GTA-Servers.depublic OnPlayerUpdate(playerid)
{
if(Desktop_Timer_Started[playerid] == 0)
{
Desktop_Timer[playerid] = SetTimerEx("Desktop_Function",1000,1,"d",playerid);
Desktop_Timer_Started[playerid] = 1;
}
Desktop_Check[playerid] += 1;
return 1; //ZEILE
}MfG,
[GLR]WiZZY.
-
Brauche eure hilfeeeee
public OnPlayerUpdate(playerid)
{
if(Desktop_Timer_Started[playerid] == 0)
{
Desktop_Timer[playerid] = SetTimerEx("Desktop_Function",1000,1,"d",playerid);
Desktop_Timer_Started[playerid] = 1;
}
Desktop_Check[playerid] += 1;
return 1; //ERROR ZEILE
}Zeile (64371) : error 075: input line too long (after substitutions)
-
HunterGamer
-
nur an dieser Stelle
-
also ich hab heute /admins verschönert halt das so Server Owner Rot angezeigt wird usw. und aufeinmal kam das hier ist nicht geklärt kannste mir das erklären ^^?
-
steht bei mir
-
Heeey
Zeile (64711) : Unbekannte Funktion
public OnPlayerUpdate(playerid)
{
if(Desktop_Timer_Started[playerid] == 0)
{
Desktop_Timer[playerid] = SetTimerEx("Desktop_Function",1000,1,"d",playerid);
Desktop_Timer_Started[playerid] = 1;
}
Desktop_Check[playerid] += 1;
return 1;
}
´c%|@ G A <dm™Gð…að™G…äinG"(( Su½
peristr {FFFFFF}%s: %s))", sendername, result);…œDanke im Vorraus!
-
Dann ist ja Gut, der Fehler ist auch weg oder kommt er immer noch?
ist weg
-
Es hat sich gespeichert