C:\Users\d\Desktop\Virtual Deathmatch MysQL\gamemodes\vdm.pwn(218) : warning 202: number of arguments does not match definition
C:\Users\d\Desktop\Virtual Deathmatch MysQL\gamemodes\vdm.pwn(218) : warning 202: number of arguments does not match definition
C:\Users\d\Desktop\Virtual Deathmatch MysQL\gamemodes\vdm.pwn(218) : warning 202: number of arguments does not match definition
C:\Users\d\Desktop\Virtual Deathmatch MysQL\gamemodes\vdm.pwn(218) : warning 202: number of arguments does not match definition
C:\Users\d\Desktop\Virtual Deathmatch MysQL\gamemodes\vdm.pwn(219) : warning 202: number of arguments does not match definition
C:\Users\d\Desktop\Virtual Deathmatch MysQL\gamemodes\vdm.pwn(219) : warning 202: number of arguments does not match definition
C:\Users\d\Desktop\Virtual Deathmatch MysQL\gamemodes\vdm.pwn(221) : warning 202: number of arguments does not match definition
C:\Users\d\Desktop\Virtual Deathmatch MysQL\gamemodes\vdm.pwn(221) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Warnings.
ocmd:goto(playerid,params[])
{
new pID;
if(sscanf(params,"u[300]",pID))return SendClientMessage(playerid,BLAU,"Benutze /goto [id]");
new Float: PosX, Float: PosY, Float: PosZ;
GetPlayerPos(pID, PosX, PosY, PosZ );
SetPlayerPos(playerid, PosX+4, PosY+4, PosZ+4 );
new veh = GetPlayerVehicleID(playerid);
SetVehiclePos(veh, PosX+4, PosY+4, PosZ+4);
PutPlayerInVehicle(playerid,veh,0);
new String[100],string[100];
format(string,sizeof(string),"Admin %s hat sich zu %s teleportiert.",GetPlayerName(playerid),GetPlayerName(pID));
format(String, sizeof(String), "%s hat sich zu dir geportet.",GetPlayerName(playerid));
SendClientMessage(pID, BLAU, String);
format(String, sizeof(String), "Du hast dich zu %s geportet.",GetPlayerName(pID));
SendClientMessage(playerid, 0xFFFFFFFF, String);
return 1;
}
Alles anzeigen