vllt. Falsche Weap.Id´s genommen
Beiträge von Genix_HaZe
-
-
nicht zu hart nehmen den das ist mein erstes mal mit Cinema 4d ;D
habe es dann später als ich fertig war mit gimp bearbeitet ;Dgimp kann ich ;D gut
aber das ist aufjedenfall mein erstes cinema 4d work sprich arbeit ;d artwork dingendsscreenshot:
Fürs erste mal -
hier
if(strcmp(cmd, "/drink", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid,3.0,499.4521,-20.6484,1000.6797))
{
new local = PlayerInfo[playerid][pLocal];
if(PlayerDrunk[playerid] < 10)
{
new Float:health;
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr)) {
SendClientMessage(playerid, COLOR_WHITE, "|__________________ Bar __________________|");
SendClientMessage(playerid, COLOR_WHITE, "Benutzung: /drink [Drink]");
SendClientMessage(playerid, COLOR_GREY, "Verfügbare Drinks: Bier ($60), Vodka ($100), V+Energy ($100), Wasser ($20), Soda($10)");
SendClientMessage(playerid, COLOR_GREY, "Verfügbare Drinks: Mixery (20$), Grapefruit (20$), Cola (10$), Fanta (10$)");
SendClientMessage(playerid, COLOR_WHITE, "|________________________________________________|");
return 1;
}
if(strcmp(x_nr,"Bier",true) == 0)
{
GivePlayerMoney(playerid, - 60);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 1;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 60; }
SetPlayerTime(playerid,22,10);
SetPlayerDrunkLevel(playerid,50000);
SetPlayerWeather(playerid,-66);
PlayerStoned[playerid] += 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 15; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 15.0); }
}
}
else if(strcmp(x_nr,"Mixery", true) == 0)
{
GivePlayerMoney(playerid, -10);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 10; }
SetPlayerTime(playerid,22,10);
SetPlayerDrunkLevel(playerid,50000);
SetPlayerWeather(playerid,-66);
PlayerStoned[playerid] += 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"Grapefruit", true) == 0)
{
GivePlayerMoney(playerid, -20);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 20; }
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"Cola", true) == 0)
{
GivePlayerMoney(playerid, -10);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
BizzInfo[local-99][bTill] += 10;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"Fanta", true) == 0)
{
GivePlayerMoney(playerid, -20);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
BizzInfo[local-99][bTill] += 20;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"Vodka",true) == 0)
{
GivePlayerMoney(playerid, - 10);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 100; }
SetPlayerTime(playerid,22,10);
SetPlayerDrunkLevel(playerid,50000);
SetPlayerWeather(playerid,-66);
PlayerStoned[playerid] += 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"V+Energy",true) == 0)
{
GivePlayerMoney(playerid, - 100);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 3;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 100; }
SetPlayerTime(playerid,22,10);
SetPlayerDrunkLevel(playerid,50000);
SetPlayerWeather(playerid,-66);
PlayerStoned[playerid] += 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 27; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 27.0); }
}
}
else if(strcmp(x_nr,"Wasser",true) == 0)
{
GivePlayerMoney(playerid, - 20);
BizzInfo[local-99][bTill] += 20;
BizzInfo[local-99][bProducts] -= 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 5; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 5.0); }
}
}
else if(strcmp(x_nr,"Soda",true) == 0)
{
GivePlayerMoney(playerid, - 10);
BizzInfo[local-99][bTill] += 10;
BizzInfo[local-99][bProducts] -= 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 5; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 5.0); }
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Barkeeper: Sorry, ich kenne dieses Getränk nicht.");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s trinkt %s.", sendername ,x_nr);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du kannst nicht mehr trinken, sonst musst du brechen !");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Es ist kein Barkeeper in der nähe ? !");
return 1;
}
}
return 1;
}
Das müsste eig. so aussehen
if(strcmp(cmd, "/drink", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid,3.0,499.4521,-20.6484,1000.6797))
{
new local = PlayerInfo[playerid][pLocal];
if(PlayerDrunk[playerid] < 10)
{
new Float:health;
new x_nr[256];
x_nr = strtok(cmdtext, idx);
if(!strlen(x_nr)) {
SendClientMessage(playerid, COLOR_WHITE, "|__________________ Bar __________________|");
SendClientMessage(playerid, COLOR_WHITE, "Benutzung: /drink [Drink]");
SendClientMessage(playerid, COLOR_GREY, "Verfügbare Drinks: Bier ($60), Vodka ($100), V+Energy ($100), Wasser ($20), Soda($10)");
SendClientMessage(playerid, COLOR_GREY, "Verfügbare Drinks: Mixery (20$), Grapefruit (20$), Cola (10$), Fanta (10$)");
SendClientMessage(playerid, COLOR_WHITE, "|________________________________________________|");
return 1;
}
if(strcmp(x_nr,"Bier",true) == 0)
{
GivePlayerMoney(playerid, - 60);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 1;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 60; }
SetPlayerTime(playerid,22,10);
SetPlayerDrunkLevel(playerid,50000);
SetPlayerWeather(playerid,-66);
PlayerStoned[playerid] += 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 15; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 15.0); }
}
}
else if(strcmp(x_nr,"Mixery", true) == 0)
{
GivePlayerMoney(playerid, -10);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 10; }
SetPlayerTime(playerid,22,10);
SetPlayerDrunkLevel(playerid,50000);
SetPlayerWeather(playerid,-66);
PlayerStoned[playerid] += 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"Grapefruit", true) == 0)
{
GivePlayerMoney(playerid, -20);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 20; }
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"Cola", true) == 0)
{
GivePlayerMoney(playerid, -10);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
BizzInfo[local-99][bTill] += 10;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"Fanta", true) == 0)
{
GivePlayerMoney(playerid, -20);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
BizzInfo[local-99][bTill] += 20;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"Vodka",true) == 0)
{
GivePlayerMoney(playerid, - 10);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 2;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 100; }
SetPlayerTime(playerid,22,10);
SetPlayerDrunkLevel(playerid,50000);
SetPlayerWeather(playerid,-66);
PlayerStoned[playerid] += 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 25.0); }
}
}
else if(strcmp(x_nr,"V+Energy",true) == 0)
{
GivePlayerMoney(playerid, - 100);
BizzInfo[local-99][bProducts] -= 1;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER);
PlayerDrunk[playerid] += 3;
if(PlayerDrunk[playerid] >= 5) { GameTextForPlayer(playerid, "~w~Du bist~n~~p~betrunken", 3500, 1);
BizzInfo[local-99][bTill] += 100; }
SetPlayerTime(playerid,22,10);
SetPlayerDrunkLevel(playerid,50000);
SetPlayerWeather(playerid,-66);
PlayerStoned[playerid] += 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 27; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 27.0); }
}
}
else if(strcmp(x_nr,"Wasser",true) == 0)
{
GivePlayerMoney(playerid, - 20);
BizzInfo[local-99][bTill] += 20;
BizzInfo[local-99][bProducts] -= 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 5; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 5.0); }
}
}
else if(strcmp(x_nr,"Soda",true) == 0)
{
GivePlayerMoney(playerid, - 10);
BizzInfo[local-99][bTill] += 10;
BizzInfo[local-99][bProducts] -= 1;
if(GetPlayerHealth(playerid, health) < 100)
{
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 5; SetPlayerHealth(playerid, health + hp); }
else { SetPlayerHealth(playerid, health + 5.0); }
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Barkeeper: Sorry, ich kenne dieses Getränk nicht.");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s trinkt %s.", sendername ,x_nr);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du kannst nicht mehr trinken, sonst musst du brechen !");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Es ist kein Barkeeper in der nähe ? !");
return 1;
}
}
return 1;return 0;
} -
Xampp und du hast MySQL =}
ich hab Xampp Instaliert... -
Bist du dir sicher, dass du dir die richtige Version Runtergeladen hast. Also für dein Betriebssystem? Welches Betriebssystem hast du und welche Programm möchtest du den Installieren?
Also ich hab Win 7 und halt MySql:D^^ -
Versuch ihn mal als Administrator auszuführen.
Immer noch... -
In MTA Object_deleter such einfach auf Yt oder hier
Klick -
Moin breadfisher,wenn ich MYSql Instalieren will schließt sich der Installer nach 2~3Sec.
Pls Help!! -
Guten Tag,
Ich habe zurzeit einen Fun server für nebenbei über Hamachi laufen.
Bis gestern ging noch alles perfekt, jedoch kommt heute mein Kumpel nichtmehr auf den Server..
Da steht dann retrivieng Info oderso.
Kann mir jemand helfen das zu fixen?
Wir sind auch in einem gemeinsamen Hamachi Netzwerk, gestern Abend ging es nocht. Heute aufeinmal nichtmehr...
Wäre echt nett von euch wenn ihr mir helfen könntet
Meld dich mal per Pn -
Zitat von xB0sSL<woltlab-metacode-marker data-name=
kE" data-link="index.php?page=Thread&postID=1277664#post1277664">
re
Ich weiß das es hier nicht hingehört:DAber Dein Speicher von PN´s ist voll.. -
Hallo breadfish ich suche eine Sirene wie bei dem UCL,ich möchte SupMobil machen^^
MFG -
Hey Leute,
verstehe es nicht. Wenn ich meinen /serverrestart Befehl ausführe und danach wieder on komme, ist alles auf 0 Resettet (DINI) bis auf Geld und Level.
Woran liegt das? Habe extra mehrere Schleifen im Script, dass auch wirklich jeder Spieler zu 100% gespeichert wird...LG
MB-Tech
Zeig mal dein GMX Befehl -
/close hab eine
-
Sonst kauf ich mir die Nächsten Monat:DWeil ich bin Blank:D
Ich hab jetzt eine PSC 10€ HIer^^
/e -
Meinst du nicht WBB 3.1.7 statt 1.3.7?
Ja DAnke^^ -
[Folgendes muss im Thema enthalten sein und darf nicht entfernt werden:]
______
Unverbindlicher Hinweis: Die Sicherheit einer Transaktion kann am besten durch die Einschaltung eines Mittelsmannes gewährleistet werden. Weitere Informationen dazu gibt es hier.
Moin Breafisher,ich suche eine Wbb 3.1.7 Lizenz für 10€ PSC.
Wenn es nicht genug ist den hab ich Pech
MFG -
nicht schlecht.
Doch für mein Geschmack zu eckig
ind auch meine Ersten^^Sonst habe ich immer Signaturen gemacht^^ -
Cool
Sind echt nice gemacht
Danke^^ -
Jo Com,ich hatte mal lw und hab mit fusch ein Paar Ranggrafiken gemacht....HIer sind sie,
Kilick,ihr dürft sie runterladen^^
MFGFeedback wäre nett;)
-
Hallo Liebe Breadfisher ich kreige die Erros beim Complieren...
Code
Alles anzeigenC:\Users\MoMo.Kruse-PC\Desktop\San Andreas RolePlay\gamemodes\RL.pwn(490) : error 076: syntax error in the expression, or invalid function call C:\Users\MoMo.Kruse-PC\Desktop\San Andreas RolePlay\gamemodes\RL.pwn(492) : error 076: syntax error in the expression, or invalid function call C:\Users\MoMo.Kruse-PC\Desktop\San Andreas RolePlay\gamemodes\RL.pwn(493) : error 076: syntax error in the expression, or invalid function call C:\Users\MoMo.Kruse-PC\Desktop\San Andreas RolePlay\gamemodes\RL.pwn(494) : error 076: syntax error in the expression, or invalid function call C:\Users\MoMo.Kruse-PC\Desktop\San Andreas RolePlay\gamemodes\RL.pwn(1828) : error 076: syntax error in the expression, or invalid function call C:\Users\MoMo.Kruse-PC\Desktop\San Andreas RolePlay\gamemodes\RL.pwn(1841) : error 076: syntax error in the expression, or invalid function call C:\Users\MoMo.Kruse-PC\Desktop\San Andreas RolePlay\gamemodes\RL.pwn(4504) : error 076: syntax error in the expression, or invalid function call Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 7 Errors.