Beiträge von SAB0h
-
-
-
Das pickup wird nicht angezeigt
Ongamemodeinit
CreatePickup(1252,1,213.9886,1900.3284,17.4313,-1); -
Jo ganz genau Cooper
Der Verkäufer ist sehr Unseriös ...
Er macht Heal Hack an etc.
Beleidigt uns alle , würde ich nicht emphelen bei ihm zu kaufen
Das Script an sich ist gut.
Denke aber der Verarscht euchDas einzigste was anders gemacht werden sollte , das Spawnsystem.
-
Donnerstag + Freitag keine Schule - > Berlin
-
-
Ich würde gerne wissen wie ich nach case 3 wieder auf case 0 springe.
switch(CurrentMap)
{
case 0:
{SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,GREEN,"____________________________________________");
SendClientMessage(playerid,WHITE,"- Karte : Wüste -");
SendClientMessage(playerid,WHITE,"- happy fragging ! -");
SendClientMessage(playerid,GREEN,"____________________________________________");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SetPlayerInterior(playerid,0);
if(gTeam[playerid] == TEAM_BLUE) {
SetPlayerPos(playerid,6286.1719,-2129.5879,12.6453);
SetPlayerFacingAngle(playerid,314.8662);}
if(gTeam[playerid] == TEAM_RED) {
SetPlayerPos(playerid,6212.8721,-2189.0254,5.4562);
SetPlayerFacingAngle(playerid,177.7062);
SetPlayerInterior(playerid,0);//Wüste
}
}
case 1:
{
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,GREEN,"____________________________________________");
SendClientMessage(playerid,WHITE,"- Karte : Dschungel -");
SendClientMessage(playerid,WHITE,"- happy fragging ! -");
SendClientMessage(playerid,GREEN,"____________________________________________");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
//DSCHUNGEL;
SetPlayerInterior(playerid,0);if(gTeam[playerid] == TEAM_BLUE) {
SetPlayerPos(playerid,2874.7771,-3061.0977,379.8411);
SetPlayerFacingAngle(playerid,228.1154);
SetPlayerInterior(playerid,0);}
if(gTeam[playerid] == TEAM_RED) {
SetPlayerPos(playerid,2875.2122,-2981.9343,376.3135);
SetPlayerFacingAngle(playerid,15.4068);
SetPlayerInterior(playerid,0);}
}case 2:
{
//de_dust1SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,GREEN,"____________________________________________");
SendClientMessage(playerid,WHITE,"- Karte : De_Dust1 -");
SendClientMessage(playerid,WHITE,"- happy fragging ! -");
SendClientMessage(playerid,GREEN,"____________________________________________");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SendClientMessage(playerid,WHITE,"");
SetPlayerInterior(playerid,0);
if(gTeam[playerid] == TEAM_BLUE) {
SetPlayerPos(playerid,1756.6603,-4740.8545,756.3553);
SetPlayerFacingAngle(playerid,69.1259);
SetPlayerInterior(playerid,0);}
if(gTeam[playerid] == TEAM_RED)
{
SetPlayerPos(playerid,1770.3132,-4941.1060,753.9554);
SetPlayerFacingAngle(playerid,242.8826);
SetPlayerInterior(playerid,0);}
}
}
return 1;
} -
Deine Plugins ?
-
ResetPlayerWeapons heisst das glaube ich
-
-
Keine richtige Preisangabe ?
-
Mh , ja wie würde ich das richtig machen ?
-
Fehler gefunden , trozdem ein neuen
Sobald der Spieler mehr als 10Kills hat wird ihn kein textdraw mehr angezeigt...public OnPlayerUpdate(playerid)
{new str[256];
format(str,sizeof(str),"~r~Kills: ~w~%d ~g~Tode: ~w~%d",GetPVarInt(playerid,"Rundenkills"),GetPVarInt(playerid,"Rundentode"));
TextDrawSetString(Text:Stats[playerid],str);
if(SpielerInfo[playerid][pKills] < 10)
{
TextDrawSetString(Text:R_1[playerid],"~r~RANK:~w~Newbie");
}
else if(SpielerInfo[playerid][pKills] < 10 && SpielerInfo[playerid][pKills] >=10)
{
TextDrawSetString(Text:R_1[playerid],"~r~RANK:~w~Killer");
}
else if (SpielerInfo[playerid][pKills] < 75 && SpielerInfo[playerid][pKills] >=25)
{
TextDrawSetString(Text:R_1[playerid],"~r~RANK:~w~Master");
}
else if (SpielerInfo[playerid][pKills] < 150 && SpielerInfo[playerid][pKills] >=300)
{
TextDrawSetString(Text:R_1[playerid],"~r~RANK:~w~Pro Shooter");
}
else if (SpielerInfo[playerid][pKills] < 300 && SpielerInfo[playerid][pKills] >=450)
{
TextDrawSetString(Text:R_1[playerid],"~r~RANK:~w~Striker Shooter");
}
else if (SpielerInfo[playerid][pKills] < 450 && SpielerInfo[playerid][pKills] >=675)
{
TextDrawSetString(Text:R_1[playerid],"~r~RANK:~w~Freekill Shooter");
}
else if (SpielerInfo[playerid][pKills] < 675 && SpielerInfo[playerid][pKills] >=1000)
{
TextDrawSetString(Text:R_1[playerid],"~r~RANK:~w~Psycho Shooter");
}
else if (SpielerInfo[playerid][pKills] <1000 && SpielerInfo[playerid][pKills] >=1500)
{
TextDrawSetString(Text:R_1[playerid],"~r~RANK:~w~Fatal Shooter");
}
return 1;
} -
-
new string1[120],aname[MAX_PLAYER_NAME];
GetPlayerName(playerid,aname,sizeof(aname));
format(string1,sizeof(string1),"Du hast %s getötet ",aname);
GameTextForPlayer(killerid,string1,3000,1);Der Spieler bekommt keine Messages ?
-
Danke dir kaliber
-
C:\Users\Plyer\Desktop\mysql\gamemodes\ren2.pwn(2354) : warning 219: local variable "SpielerName" shadows a variable at a preceding level
C:\Users\Plyer\Desktop\mysql\gamemodes\ren2.pwn(2382) : error 002: only a single statement (or expression) can follow each "case"
C:\Users\Plyer\Desktop\mysql\gamemodes\ren2.pwn(2382 -- 2383) : error 029: invalid expression, assumed zero
C:\Users\Plyer\Desktop\mysql\gamemodes\ren2.pwn(2392) : warning 209: function "OnDialogResponse" should return a value
C:\Users\Plyer\Desktop\mysql\gamemodes\ren2.pwn(2393) : error 010: invalid function or declaration
C:\Users\Plyer\Desktop\mysql\gamemodes\ren2.pwn(3301) : warning 203: symbol is never used: "GameMinutes"
C:\Users\Plyer\Desktop\mysql\gamemodes\ren2.pwn(3301) : warning 203: symbol is never used: "GameSeconds"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase3 Errors.
-
Wenn ich im Dialog etwas anklicke passiert nichts...
Kann ja nur von OnPlayerDialogResponse der Fehler kommen oder ?
#define Waffenmenu 14ShowPlayerDialog(playerid,Waffenmenu, DIALOG_STYLE_LIST, "Waffen", "Pack1\nPack2", "Auswählen", "Abbrechen");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case DIALOG_REGISTER:
{
if(response)
{
if(strlen(inputtext) == 0)
{
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,"Register","Das
angegebene Passwort war zu Kurtz...\nBitte Registrier dich jetzt mit
einem Passwort:","Register","Abbrechen");
return 1;
}
else
{
CreateAccount(playerid, inputtext);
SetPVarInt(playerid,"Eingeloggt",1);
SpawnPlayer(playerid);
return 1;
}
}
else
{
Kick(playerid);
}
}
case DIALOG_LOGIN:
{
if(response)
{
if(strlen(inputtext) == 0)
{
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login","Das
Angegebene Passwort war Falsch.\nBitte log dich jetzt mit dem richtigen
Passwort ein:","Login","Abbrechen");
return 1;
}
else
{
new SpielerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, SpielerName, MAX_PLAYER_NAME);
if(!strcmp(inputtext, mysql_ReturnPasswort(SpielerName), true))
{
SetPVarInt(playerid,"Eingeloggt",1);
LoadPlayer(playerid);
SpawnPlayer(playerid);
return 1;
}
else
{
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","Das
war das Falsche Passwort.\nBitte log dich jetzt mit dem richtigen
Passwort ein:","Login","Abbrechen");
return 1;
}
}
}
else
{
Kick(playerid);
}
if(dialogid == Waffenmenu)
{
if(response)
{
if(listitem == 0)
{
GivePlayerWeapon(playerid,22,100);}
if(listitem == 1)
{
GivePlayerWeapon(playerid,24,75);}
}
}}
}
return 1;
} -
Das zeig uns bitte den Download , desweiteren hat er ihn hochgeladen für alle.
-
Willste vielleicht deinen mal hochladen ?