Kann mir jmd. den Klammerfehler beheben?
Find den nicht
public OnPlayerSpawn(playerid)
{
{
switch(GetPlayerLanguage(playerid))
{
case ENG:
{
if(GetPVarInt(playerid,"Jail") == 1)
{
SendClientMessage(playerid,Rot, "You're still in the Admin Prison!");
TogglePlayerControllable(playerid,0);
SetTimerEx("Loadobjects",3000,false,"i",playerid);
SetPlayerPos(playerid,378.5644,92.9471,1806.9797);
return 1;
}
case GER:
{
if(GetPVarInt(playerid,"Jail") == 1)
{
SendClientMessage(playerid,Rot, "You're still in the Admin Prison!");
TogglePlayerControllable(playerid,0);
SetTimerEx("Loadobjects",3000,false,"i",playerid);
SetPlayerPos(playerid,378.5644,92.9471,1806.9797);
return 1;
}
}
}
return 1;
}