nett gemacht 8/10 Breadis
Beiträge von zombie.modder
-
-
Erklärung
SetTimer("PayDay",600000,1);
PayDay = Funktion die aufgerufen wird
600000 = Die Zeit nach dem die Funktion aufgerufen wird (1h hier)
1 = heißt es wird wiederholt 0 ist das Gegenteil -
man versteht die Frage nicht sehr gut formulier es mal besser
-
haste auch irgendwo
TextDrawShowForAll(textdrawname);
oder
TextDrawShowForPlayer(playerid, textdrawname);
-
new spieler = strval(strget(cmdtext, 1)); //Was er als erstes nach /ban eingibt
new grund = strval(strget(cmdtext, 2)); //was als zweites -
auf sowas habe ich gewartet
-
Da ist doch gar net angegeben was /ban 1 2 sind (1 und 2 halt die sachen die man eingibt^^)
-
bei OnPlayerConnect Mute = 0 ?
-
das gibt es doch schon länger^^
-
machs mit Timer
-
Bump
sry für Bump aber ich habe ein Problem mit dem Tutorial^^ Wenn ich es einfüge und das spiel starte und mich registriere, dann wird das gesamte Tutorial in 3 Sekunden abgespielt -.-
Was das problem is weis ich nicht
MfG
-
es ist bei OnPlayerLogin
-
habe es definiert als #define TEAM MEDIC habe aber hinter...._MEDIC eine 4 vergessen xD danke Keks
-
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicle, Model;
vehicle = GetPlayerVehicleID(playerid);
Model = GetVehicleModel(vehicle);
new currentstate = GetPlayerState(playerid);
if(Model == 420 || Model == 438 )
{
if(gTeam[playerid] != TEAM_TAXI)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, Rot, "Du bist kein Taxi Fahrer!");
}
}
else if(gTeam[playerid] == TEAM_TAXI)
{
print("Taxi betreten");
} -
Hi (schon wieder errors^^)
hier
Spoiler anzeigen public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicle, Model;
vehicle = GetPlayerVehicleID(playerid);
Model = GetVehicleModel(vehicle);
new currentstate = GetPlayerState(playerid);
if(Model == 462 )
{
if(PlayerInfo[playerid][autoschein] == 0)
{
SendClientMessage(playerid, Grün, "Du kannst auch andere Fahrzeuge fahren. Besorg dir erst einen Führerschein!");
}
}
else if(PlayerInfo[playerid][autoschein] == 0 && currentstate == PLAYER_STATE_DRIVER)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, Rot, "Du hast keinen Führerschein!");
}
else
{
}
if(Model == 420 || Model == 438 )
{
if(gTeam[playerid] != TEAM_TAXI)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, Rot, "Du bist kein Texi Fahrer!");
}
}
else if(gTeam[playerid] == TEAM_TAXI)
{
print("Taxi betreten");
}
if (currentstate == PLAYER_STATE_DRIVER)
{Spoiler anzeigen if(vehicle == mediccar)
{//
if(gTeam[playerid] == TEAM_MEDIC || gLeader[playerid] == TEAM_MEDIC ) //<<<<<<<<<<<da
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du bist kein Medic!");
}
}
if(vehicle == mediccar1)
{//
if(gTeam[playerid] == TEAM_MEDIC || gLeader[playerid] == TEAM_MEDIC )//<<<<<<<<<<<da
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du bist kein Medic!");
}
}
if(vehicle == mediccar2)
{//
if(gTeam[playerid] == TEAM_MEDIC || gLeader[playerid] == TEAM_MEDIC )//<<<<<<<<<<<da
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du bist kein Medic!");
}
}
if(vehicle == mediccar3)
{//
if(gTeam[playerid] == TEAM_MEDIC || gLeader[playerid] == TEAM_MEDIC )//<<<<<<<<<<<da
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du bist kein Medic!");
}
}
if(vehicle == mediccar4)
{//
if(gTeam[playerid] == TEAM_MEDIC || gLeader[playerid] == TEAM_MEDIC )//<<<<<<<<<<<da
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du bist kein Medic!");
}
}
if(vehicle == mediccar5)
{//
if(gTeam[playerid] == TEAM_MEDIC || gLeader[playerid] == TEAM_MEDIC )//<<<<<<<<<<<da
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du bist kein Medic!");
}
}
if(vehicle == mediccar6)
{//
if(gTeam[playerid] == TEAM_MEDIC || gLeader[playerid] == TEAM_MEDIC )//<<<<<<<<<<<da
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,COLOR_RED,"Du bist kein Medic!");
}
}
}
return 1;
}Kommt das
Spoiler anzeigen F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1109) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1109) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1112) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1120) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1120) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1123) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1131) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1131) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1134) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1142) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1142) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1145) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1153) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1153) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1156) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1164) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1164) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1167) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1175) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1175) : error 029: invalid expression, assumed zero
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(1178) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhaseSpoiler anzeigen 21 Errors.Also ich weis net was falsch is -.-
MfG
-
aso oh man wie blöd ich bin xD danke^^
-
Hi,
habe für die Medics cars gemachtnew mediccar;
new mediccar1;
new mediccar2;
new mediccar3;
new mediccar4;
new mediccar5;
new mediccar6;dann bei OnGameModeInit
mediccar = AddStaticVehicleEx(416,1179.6671,-1338.5481,13.9484,271.3396,1,3, 15); // medicauto1
mediccar1 = AddStaticVehicleEx(416,1178.3385,-1309.0522,13.9817,268.1866,1,3, 15); // medicauto2
mediccar2 = AddStaticVehicleEx(416,1182.9608,-1331.6770,13.7305,357.7607,1,3, 15); // medicauto3
mediccar3 = AddStaticVehicleEx(416,1182.7334,-1315.7622,13.7220,180.3004,1,3, 15); // medicauto4
mediccar4 = AddStaticVehicleEx(417,1166.1863,-1323.4287,31.7600,262.1279,0,0, 15); // medicauto5
mediccar5 = AddStaticVehicleEx(487,1163.2692,-1311.2952,31.6651,268.9521,3,29, 15); // medicauto6
mediccar6 = AddStaticVehicleEx(487,1163.1969,-1299.8538,31.6716,271.7012,74,35, 15); // medicauto7Aber dann kommt:
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(222) : warning 204: symbol is assigned a value that is never used: "mediccar"
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(223) : warning 204: symbol is assigned a value that is never used: "mediccar1"
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(224) : warning 204: symbol is assigned a value that is never used: "mediccar2"
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(225) : warning 204: symbol is assigned a value that is never used: "mediccar3"
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(226) : warning 204: symbol is assigned a value that is never used: "mediccar4"
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(227) : warning 204: symbol is assigned a value that is never used: "mediccar5"
F:\imaczeuch\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\realreallife.pwn(228) : warning 204: symbol is assigned a value that is never used: "mediccar6"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase7 Warnings.
Is doch alles richtig oder mache ich doch Fehler -.-MfG
-
was genau was soll dort passieren im Kaufhaus?
-
guck mal in meine Signatur^^
-
GangZoneShowForPlayer(playerid, Lcn, 0xFF000096); //0xFF000096 ist die Farbe die du ändern musst
GangZoneShowForPlayer(playerid, Lb, 0x0080FF96);
GangZoneShowForPlayer(playerid, ECP, 0x0000FF96);
GangZoneShowForPlayer(playerid, Warriors, 0x80008096);