Zeile (122) : error 001: expected token: ")", but found "-string-"
Zeile (122) : warning 215: expression has no effect
Zeile (122) : error 002: only a single statement (or expression) can follow each "case"
Zeile (118) : error 017: undefined symbol "string"
Zeile (118 -- 125) : fatal error 107: too many error messages on one line
5 Errors, 1 Warnungen
Du hast Errors im Skript. Kompilierung abgebrochen
PWNMod Compiler Version 1.2
(c) Trooper[Y]
In Kooperation mit GTA-Servers.de
if(strcmp(cmdtext,"/stats",true)==0)
{
new string[128]; //118
new fraktname[64];
switch(GetPVarInt(playerid,"Fraktion"))
{
case 0:(fraktname"Keine";) //122
}
//1 reiche
format(string,sizeof(string),"[Name: %s] [Level: %i] [Adminlevel: %i] [Fraktion: %s]",SpielerName(playerid),GetPlayerScore(playerid),GetPVarInt(playerid,"Adminlevel"),fraktname);
SendClientMessage(playerid,schwarz,string);
//2 reiche
return 1;
}
ich bekomme die net raus hilfe^^
danke im vorraus