Beiträge von PsychoKoala
-
-
Moment
S3D=Create3DTextLabel("Dieser Spieler ist\n im Support!",Orange,0.0,0.0,0.0,0.75,0,1);
Attach3DTextLabelToPlayer(S3D,playerid,0.0,0.0,15.0);
S3D=Create3DTextLabel("Dieser Spieler ist\n im Support!",Orange,0.0,0.0,0.0,0.75,0,1);
Attach3DTextLabelToPlayer(S3D,playerid,0.0,0.0,15.0);Delete3DTextLabel(S3D);
Delete3DTextLabel(S3D);
-
Hey Ho.
Bin grad dabei neue Systeme bei mir ins Script ein zu fügen, bekomme aber die Warns...C:\Users\SageIchNicht\Desktop\server.pwn(3210) : warning 213: tag mismatch
C:\Users\SageIchNicht\Desktop\server.pwn(3211) : warning 213: tag mismatch
C:\Users\SageIchNicht\Desktop\server.pwn(3229) : warning 213: tag mismatch
C:\Users\SageIchNicht\Desktop\server.pwn(3230) : warning 213: tag mismatch
C:\Users\SageIchNicht\Desktop\server.pwn(3248) : warning 213: tag mismatch
C:\Users\SageIchNicht\Desktop\server.pwn(3266) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase6 Warnings.
ocmd:support(playerid,params[])
{
format(string1,sizeof(string1),"Deine Support Anfrage wurde an alle Admins die online sind gesendet.");
SendClientMessage(playerid,Orange,string1);
format(string1,sizeof(string1),"[Support] Anfrage von: [ID:%i]%s eingetroffen",playerid,SpielerName(playerid));
SendAdminMessage(rot,string1);
SetPVarInt(playerid,"Support",1);
S3D=Create3DTextLabel("Dieser Spieler ist\n im Support!",Orange,0.0,0.0,0.0,0.75,0,1);
Attach3DTextLabelToPlayer(S3D,playerid,0.0,0.0,15.0);
printf(string1);
return 1;
}
ocmd:or(playerid,params[])
{
if(!IsAdmin(playerid,1))return SendClientMessage(playerid,rot,"Sie sind kein Administrator!");
new pID;
if(sscanf(params,"u",pID))return SendClientMessage(playerid,weiß,"/or [ID]");
if(GetPVarInt(pID,"Support") != 1) return SendClientMessage(playerid,weiß,"Dieser Spieler benötigt keinen Support!");
format(string1,sizeof(string1),"Administrator %s hat deinen Support bestätigt. Du kannst nun mit ihm schreiben!",SpielerName(playerid));
SendClientMessage(pID,grün,string1);
SendClientMessage(playerid,weiß,"Support geöffnet.");
Support[playerid] = 1;
Support[pID] = 1;
SetPVarInt(pID,"ISupport",1);
SetPVarInt(pID,"Support",0);
S3D=Create3DTextLabel("Dieser Spieler ist\n im Support!",Orange,0.0,0.0,0.0,0.75,0,1);
Attach3DTextLabelToPlayer(S3D,playerid,0.0,0.0,15.0);
format(string1,sizeof(string1),"** (( Admin %s hat den Report von %s geöffnet und bearbeitet ihn nun )) **",SpielerName(playerid),SpielerName(pID));
SendAdminMessage(hellrot,string1);
printf(string1);
return 1;
}
ocmd:tr(playerid,params[])
{
if(!IsAdmin(playerid,1))return SendClientMessage(playerid,rot,"Sie sind kein Administrator!");
new pID;
if(sscanf(params,"u",pID))return SendClientMessage(playerid,weiß,"/tr [ID]");
if(GetPVarInt(pID,"Support") != 1) return SendClientMessage(playerid,weiß,"Dieser Spieler hat keinen Support abgesendet!");
format(string1,sizeof(string1),"Administrator %s hat deinen Support abgelehnt und gelöscht.",SpielerName(playerid));
SendClientMessage(pID,rot,string1);
SendClientMessage(playerid,weiß,"Support gelöscht.");
Support[playerid] = 0;
Support[pID] = 0;
SetPVarInt(pID,"Support",0);
Delete3DTextLabel(S3D);
format(string1,sizeof(string1),"** (( Admin %s hat den Report von %s gelöscht )) **",SpielerName(playerid),SpielerName(pID));
SendAdminMessage(hellrot,string1);
printf(string1);
return 1;
}ocmd:cr(playerid,params[])
{
if(!IsAdmin(playerid,1))return SendClientMessage(playerid,rot,"Sie sind kein Administrator!");
new pID;
if(sscanf(params,"u",pID))return SendClientMessage(playerid,weiß,"/cr [ID]");
if(GetPVarInt(pID,"ISupport") != 1) return SendClientMessage(playerid,weiß,"Dieser Spieler ist nicht im Support!");
format(string1,sizeof(string1),"Administrator %s hat deinen Support geschlossen.",SpielerName(playerid));
SendClientMessage(pID,rot,string1);
SendClientMessage(playerid,weiß,"Support geschlossen.");
Support[playerid] = 0;
Support[pID] = 0;
SetPVarInt(pID,"ISupport",0);
Delete3DTextLabel(S3D);
format(string1,sizeof(string1),"** (( Admin %s hat den Report von %s geschlossen und den Support beendet )) **",SpielerName(playerid),SpielerName(pID));
SendAdminMessage(hellrot,string1);
printf(string1);
return 1;
}Ganz oben ist des
new Text: S3D;Kann mir jmd. helfen?
-
Avatar
-
Geschenk?
-
Hallo liebes Forum...
Wie erstelle ich eine Servereinführung? Also wenn man neu ist... ?
Also der Dialog soll da stehen " Registrieren-Einführung"
Wenn man auf einführung klickt, kommt man in ein fahrzeug das von einem NPC gefahren wird, man kann nicht austeigen, oder schreiben, der npc schreibt die ganze zeit, ginge das und wenn ja wie?
-
Wäre der perfekte Mord ein Eispickel und Säure?
Mit einem kleinem psycho Spiel? -
Nope,
-
Thank you
-
Versuchs mal so
// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,434 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,399 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,349 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,304 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,254 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,204 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,154 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,104 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,54 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);// On top of script:
new Text:Textdraw1;// In OnGameModeInit
Textdraw1 = TextDrawCreate(-6.5 ,4 , "|||||||||||||||||||||||||||||||||||||||||||||||");
TextDrawFont(Textdraw1 , 3);
TextDrawLetterSize(Textdraw1 , 1.5, 10.5);
TextDrawColor(Textdraw1 , 0x000000FF);
TextDrawSetOutline(Textdraw1 , false);
TextDrawSetProportional(Textdraw1 , true);
TextDrawSetShadow(Textdraw1 , 1);MFG
-
Link ?
-
Hey Ho
Logo: 5
Text: Happy Deathmatch
Ty
-
Habe ein Warn, aber wo ist der Fehler
public OnPlayerSpawn(playerid)
{
{
SetPlayerTeam(playerid,Cops);
SetPlayerTeam(playerid,Mafia);
return 1;
}
if(IsPlayerNPC(playerid))
____________________________________________________________________________________________________(2331) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase1 Warning.
-
}
SetPlayerTeam(playerid,0);
SetPlayerTeam(playerid,1);
return 1;
{Was hat mir des gebracht?
-
" SetPlayerToTeam " was ist das ?
Mein System ist so:
//Teams
new gTeam[MAX_PLAYERS];
#define Cops 0
#define Mafia 1//Polizei Auswahl
AddPlayerClass(265,1579.4519,-1634.8011,13.5622,356.1275,24,500,31,1000,29,1000);
AddPlayerClass(266,1579.4519,-1634.8011,13.5622,356.1275,24,500,31,1000,29,1000);
AddPlayerClass(267,1579.4519,-1634.8011,13.5622,356.1275,24,500,31,1000,29,1000);//Mafia Auswahl
AddPlayerClass(111,1083.7567,-1226.7904,15.8203,247.2682,24,500,30,1000,29,1000);
AddPlayerClass(120,1083.7567,-1226.7904,15.8203,247.2682,24,500,30,1000,29,1000);
AddPlayerClass(124,1083.7567,-1226.7904,15.8203,247.2682,24,500,30,1000,29,1000);public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2096.6812,1884.6293,14);
SetPlayerCameraPos(playerid, 2104.2590,1880.3660,16);
SetPlayerCameraLookAt(playerid, 2096.0000,1884.6293,14);
ApplyAnimation(playerid,"FIGHT_D","FightD_IDLE",4.0,1,1,1,1,0);if(classid >= 0 && classid <= 2)
{
SetPlayerColor(playerid,0x2100FFFF);
gTeam[playerid] = Cops;
GameTextForPlayer(playerid,"~b~Team: Polizei",1000,5);
}
else if(classid >= 3 && classid <= 5)
{
SetPlayerColor(playerid,0x7AA4A6FF);
gTeam[playerid] = Mafia;
GameTextForPlayer(playerid,"~g~Team: Mafia",1000,5);
}
return 1;
}
Ist das Falsch? -
Hallo,
kann mir einer sagen/helfen wie ich ein anti team kill system mache?Teams:
Cops
MafiaLg
-
ich hab ein "kleines" hosting ^^, mit nem fertigen RL Script wenn du magst.... PN
-
Ich suche 4-5 Leute, für meinen Server, also nur um ihn kurz mit mir zu testen, wäre nett
IP: 46.228.199.159:9985
Bitte vorher bescheid sagen
-
vServer? Webtropia ?^^
-
Benutz die Keule