Hallo Liebes Breadfish ich suche ein wbb Techniker der sich mit Wbblite 3.1.7 auskennt!
Skype:mw3freak441
Beiträge von King_Julian44
-
-
23 errors ?
if(strcmp(cmd, "/admin", true) == 0 strcmp(cmd, "/a", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "NUTZE: (/a)dmin [admin chat]");
return 1;
}
if(PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pAdmin], sendername, playerid, result);
}
else if(PlayerInfo[playerid][pSupporter] >= 1)
{
format(string, sizeof(string), "*%d Supporter %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
}
else if(PlayerInfo[playerid][pSupporter] == 6)
{
format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
}
format(string, sizeof(string), "%s[%d]: %s", sendername, playerid, result);
for(new i=0; i<GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i))
{
SendClientMessage(i,0xE10000FF,string);
}
}
Log("OA-Chat.txt",string);
return 1;
} -
also ich will es so wenn ein admin im chat schreibt dann sollte da sein admin rang sein und wenn ein user schreibt Einfach nix ? nur der Name
MFG
-
Also wenn ich jetzt als admin also admin 2002 steht da
PS: Als User geht sehr gut aber als admin gibt es ein bug ! hier der screen -
ich bekomme dann 26 erros ! MEIN FREUND!
-
Also wenn ein user admin level 0 ist also kein admin steht da hier ein screen zeige es dir!
ich will nicht das da admin 0 steht einfach nur DSZHater_S nur das kein admin! -
wenn ich die weg mach und eine lasse wie soll das gehen??hää=?
-
if(PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pAdmin], sendername, playerid, result);
}
else if(PlayerInfo[playerid][pSupporter] >= 1)
{
format(string, sizeof(string), "*%d Supporter %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
}
else if(PlayerInfo[playerid][pSupporter] == 6)
{
format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pAdmin], sendername, playerid, result);
} -
C:\Users\suleyman\Desktop\German Sun RolePlay\gamemodes\GSR.pwn(31621) : error 017: undefined symbol "resul"
C:\Users\suleyman\Desktop\German Sun RolePlay\gamemodes\GSR.pwn(31621) : error 029: invalid expression, assumed zero
C:\Users\suleyman\Desktop\German Sun RolePlay\gamemodes\GSR.pwn(31621) : error 017: undefined symbol "t"
C:\Users\suleyman\Desktop\German Sun RolePlay\gamemodes\GSR.pwn(31621) : fatal error 107: too many error messages on one line -
so also so ?
if(PlayerInfo[playerid][playerid] >= 1)
{
format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pAdmin], sendername, playerid, result);
}
else if(PlayerInfo[playerid][playerid] >= 1)
{
format(string, sizeof(string), "*%d Supporter %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
}
else if(PlayerInfo[playerid][playerid] == 6)
{
format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
} -
ja und was muss da rein? den?
-
in welcher zeile dann?
-
genau
PS: ich komme nicht mit PWN Quellentext klarr sry! -
Hallo Liebes Breadfish also ich wollte fragen wie User auch in den Admin chat schreib können!
if(strcmp(cmd, "/admin", true) == 0 strcmp(cmd, "/a", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "NUTZE: (/a)dmin [admin chat]");
return 1;
}
if(PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pAdmin], sendername, playerid, result);
}
else if(PlayerInfo[playerid][pSupporter] >= 1)
{
format(string, sizeof(string), "*%d Supporter %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
}
else if(PlayerInfo[playerid][pSupporter] == 6)
{
format(string, sizeof(string), "*%d Admin %s[%d]: %s", PlayerInfo[playerid][pSupporter], sendername, playerid, result);
}else return 1;
for(new i=0; i<GetMaxPlayers(); i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pSupporter] >= 1 PlayerInfo[i][pAdmin] >= 1)
{
SendClientMessage(i,0xE10000FF,string);
}
}
}
Log("OA-Chat.txt",string);
}
return 1;
} -
-
hää? WIE?
-
Hallo liebes breadfish ich habe ein fraktion die ist ballas und Vagos also die haben beide die gleichen virtualien und ich habe dann bei vagos
SetPlayerVirtualWorld(playerid,15); gemacht aber es ging trozdem nicht?if(strcmp(cmd, "/vaenter", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2151.1638,-1013.9731,62.7305))
{
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,8);
SetPlayerVirtualWorld(playerid,8);
}
}
}
if(strcmp(cmd, "/vaexit", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2153.0352,-1012.7573,62.9115))
{
SetPlayerPos(playerid,2153.0352,-1012.7573,62.9115);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
}if(strcmp(cmd, "/benter", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)//ballas
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2572.3323,-1091.8234,67.2257))
{
SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
SetPlayerInterior(playerid,8);
SetPlayerVirtualWorld(playerid,6);
}
}
}
if(strcmp(cmd, "/bexit", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)// Ballas
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
{
SetPlayerPos(playerid,2570.4004,-1089.5715,66.8322);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
}
}
} -
Hallo Liebes Breadfish als ich habe ein 3DTextLabel erstellt es sollte im interior kommt aber es kommt nicht? hier der Create3DTextLabel
Create3DTextLabel("um Armor zu nehmen /armor", COLOR_WHITE,1102.1628,-1263.3516,21.5469,15.0,0); -
habs danke dir
-
okay aber wie mach ich das dann?