Guten Abend Liebe Com,
Ich habe leider 4 Errors ich bitte um Hilfe
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(248) : error 017: undefined symbol "Name"
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(249) : error 017: undefined symbol "Name"
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(261) : error 017: undefined symbol "Name"
C:\Users\Daniel\Desktop\SAMP Server\gamemodes\RolePlayScript.pwn(262) : error 017: undefined symbol "Name"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
der befehl
ocmd:freeze(playerid,params[])
{
new ID, grund[128], n1[128], n2[128];
if(sscanf(params,"us",ID,grund))return SendClientMessage(playerid,GELB,"Benutze /freeze [ID/Name] [Grund]");
TogglePlayerControllable(ID,0);
format(n1,sizeof(n1),"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,GELB,n2);
SetPVarInt(playerid,"pFreezed",1);
return 1;
}
ocmd:unfreeze(playerid,params[])
{
new ID, n1[128], n2[128];
if(sscanf(params,"u",ID))return SendClientMessage(playerid,GELB,"Benutze /unfreeze [ID/Name]");
TogglePlayerControllable(ID,1);
format(n1,sizeof(n1),"Admin %s entfreetz %s",Name(playerid),Name(ID));
format(n2,sizeof(n2),"Admin %s hatt dich entfreezt.",Name(playerid));
SendClientMessageToAll(ROT,n1);
SendClientMessage(ID,GELB,n2);
SetPVarInt(playerid,"pFreezed",0);
return 1;
}
Danke im vorraus