Guten Tag, ich bekomme 4 Errors:
C:\Users\D\Desktop\SA-MP Server\gamemodes\kor.pwn(507) : error 017: undefined symbol "string"
C:\Users\D\Desktop\SA-MP Server\gamemodes\kor.pwn(507) : error 017: undefined symbol "string"
C:\Users\D\Desktop\SA-MP Server\gamemodes\kor.pwn(507) : error 029: invalid expression, assumed zero
C:\Users\D\Desktop\SA-MP Server\gamemodes\kor.pwn(507) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
ocmd:goto(playerid,params[])
{
new pID;
if(!isAdmin(playerid,2337))return SendClientMessage(playerid,0xFFFFFFFF,"Dir ist es nicht erlaubt, diesen Befehl zu benutzen!");
if(sscanf(params,"u",pID)) return SendClientMessage(playerid,COLOR_RED,"Benutzung: /goto [ID]");
new Float:X, Float:Y, Float:Z;
GetPlayerPos(pID,X,Y,Z);
new Interior = GetPlayerInterior(pID);
SetPlayerInterior(playerid, Interior);
format(string,sizeof(string),"Admin %s hat sich zu dir geportet.",getPlayerName(playerid));
SendClientMessage(pID,COLOR_RED,string);
return 1;
}