Sag mir mal welcher
if(PlayerInfo[playerid][pMember] == 1) || PlayerInfo[playerid][pLeader] == 1){
Sag mir mal welcher
if(PlayerInfo[playerid][pMember] == 1) || PlayerInfo[playerid][pLeader] == 1){
4Errors
C:\Users\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36215) : warning 217: loose indentation
C:\Users\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36216) : error 029: invalid expression, assumed zero
C:\Users\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36216) : warning 215: expression has no effect
C:\Users\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36216) : error 001: expected token: ";", but found "]"
C:\Users\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36216) : error 029: invalid expression, assumed zero
C:\Users\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36216) : fatal error 107: too many error messages on one line
Wollte gerade Brücken befehl machen und kriege folgende Errors:
C:\Users\\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36215) : error 029: invalid expression, assumed zero
C:\Users\---\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36215) : warning 215: expression has no effect
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36215) : error 001: expected token: ";", but found "]"
C:\Users\----\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36215) : error 029: invalid expression, assumed zero
C:\Users\----\Desktop\SPIEL\dd\gamemodes\GFR.pwn(36215) : fatal error 107: too many error messages on one line
Zeile:
//~~~~~~~~~~~~~~~~~~~~~~~~~~~Admin Base~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if (strcmp(cmdtext, "/brueckehoch", true) == 0){
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1){
MoveObject(bruecke,185.09661865234, -1937.4753417969, 16.423196792603, 0, 0, 99.99755859375);
return 1;
}}
if (strcmp(cmdtext, "/brueckerunter", true) == 0){
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1){
MoveObject(bruecke,185.095703125, -1937.474609375, 16.423196792603, 0, 0, 99.992065429688);
return 1;
}}
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Adminbase Befehl Ende~~~~~~~~~~~~~~~~~~~~~~
Hallo Fische!
Ich möchte Lernen wie ich eine Brücke hoch und runter machen kann!
Es sollte so gehen das es nur Admins können :).
Natürlich mit einem Befehl!
Ein Tutorial währe gut
Edit:
Währe das richtig?
new Bruecke;
Dann unter OnGameModeInit:
Brücke = CreateObject(**********************); // Brücke oben
Und dann das hier unter OnPlayerCommandText:
if (strcmp(cmdtext, "/bruche oben", true) == 0){
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1){
MoveObject(Brücke,***************);
return 1;
}}
if (strcmp(cmdtext, "/brueckeunten", true) == 0){
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1){
MoveObject(bruecke,**************);
return 1;
}}
Es gibt Public's
Edit/: Text
/EDIT ERLEDIGT PLS CLOSE
nope
Stimmt net..................................
Schon probiert
nope Stimmt net.................................. Schon probiert
Der Beitrag ist zu kurz. Der Beitrag muss mindestens 15 Zeichen lang sein und 6 Wörter enthalten.
Hey Fische.
Ich habe 26 Errors
C:\Users\-----\Desktop\SPIEL\dd\pawno\include\M-Zones.inc(112) : error 004: function "M_OnPlayerEnterZone" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\pawno\include\M-Zones.inc(121) : error 004: function "M_OnPlayerLeaveZone" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\pawno\include\audio.inc(120) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(275) : error 010: invalid function or declaration
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2499) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2510) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2528) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2539) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2558) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2574) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2584) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2596) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2608) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2621) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2642) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2653) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(2662) : error 004: function "ClearChatbox" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(4299) : error 004: function "OnPlayerCarLogin" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(4895) : error 004: function "AFKOn" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(4937) : error 004: function "OnPlayerCarUpdate" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(4938) : error 004: function "SaveZones" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(5147) : error 004: function "RemoveRoadblock" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(5685) : error 004: function "ClearBlack" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(6187) : error 004: function "CheckForLicenseTestCheckpoint" is not implemented
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(6696) : error 029: invalid expression, assumed zero
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(6696) : error 001: expected token: ")", but found ";"
C:\Users\-----\Desktop\SPIEL\dd\gamemodes\GFR3.pwn(6782) : error 029: invalid expression, assumed zero
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Pls Helfen wenn ihr welche zeilen braucht schreibt es