C:\Users\kevin\Desktop\Gta sachen\Server\gamemodes\tutorial.pwn(318) : error 017: undefined symbol "Name"
C:\Users\kevin\Desktop\Gta sachen\Server\gamemodes\tutorial.pwn(319) : error 017: undefined symbol "Name"
C:\Users\kevin\Desktop\Gta sachen\Server\gamemodes\tutorial.pwn(332) : error 017: undefined symbol "Name"
C:\Users\kevin\Desktop\Gta sachen\Server\gamemodes\tutorial.pwn(333) : error 017: undefined symbol "Name"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Zeilen:
318-333
format(n1,sizeof(n1),"ADCMD:Der Admin %s freezt %s.Grund %s",Name(playerid),Name(ID),grund);
format(n2,sizeof(n2),"Admin %s hatt dich gefreezt.Grund %s",Name(playerid),grund);
SendClientMessageToAll(rot,n1);
SendClientMessage(ID,rot,n2);
SetPVarInt(playerid,"pFreezed",1);
return 1;
}
ocmd:unfreeze(playerid,params[])
{
if(!isPlayerAnAdmin(playerid,6))return SendClientMessage(playerid,rot,"Du bist kein Admin lvl 6!");
new ID, n1[128], n2[128];
if(sscanf(params,"u",ID))return SendClientMessage(playerid,rot,"Benutze /unfreeze [ID/Name]");
TogglePlayerControllable(ID,1);
format(n1,sizeof(n1),"ADCMD:Der Admin %s entfreezt %s.",Name(playerid),Name(ID));
format(n2,sizeof(n2),"Admin %s hat dich entfreezt!",Name(playerid));