switch(GetPVarInt(playerid,"Fightstyle"))
{
case 1:{SetPlayerFightingStyle(playerid,FIGHT_STYLE_NORMAL);}
case 2:{SetPlayerFightingStyle(playerid,FIGHT_STYLE_BOXING);}
case 3:{SetPlayerFightingStyle(playerid,FIGHT_STYLE_KUNGFU);}
case 4:{SetPlayerFightingStyle(playerid,FIGHT_STYLE_KNEEHEAD);}
case 5:{SetPlayerFightingStyle(playerid,FIGHT_STYLE_GRABKICK);}
case 6:{SetPlayerFightingStyle{playerid,FIGHT_STYLE_ELBOW);}
}
Ich bekomme folgende Errors:
PHP
error 028: invalid subscript (not an array or too many subscripts): "SetPlayerFightingStyle"
warning 215: expression has no effect
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Was hat er für ein Problem mit der Fightstyle Funktion?