Nabend..
Weiß wer wie ich diese Errors wegbekomme :o
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(w,1,cmdtext);
return 0;
}
dcmd_w(playerid,params[])
{
#pragma unused params
new pID, text[128]
if(sscanf(params,"us",pID, text))
if(IsPlayerConnected(pID))return SendClientMessage(playerid, Dunkelrot,"Dieser Spieler ist nicht Online.");
{
format(text,sizeof(text),"(%u)%s: %s",SpielerName(playerid),text);
SendClientMessage(pID,Beesch,text);
format(text,sizeof(text),"Sie sprechen mit (%u)%s: %s ",SpielerName(playerid),text);
SendClientMessage(playerid,Beesch,text);
}
return 1;
}
Code
D:\window 0.3e\samp03e_svr_win32\gamemodes\whisper.pwn(1) : error 001: expected token: ",", but found ";"
D:\window 0.3e\samp03e_svr_win32\gamemodes\whisper.pwn(2) : error 001: expected token: ")", but found "return"
D:\window 0.3e\samp03e_svr_win32\gamemodes\whisper.pwn(2) : error 001: expected token: ")", but found ";"
D:\window 0.3e\samp03e_svr_win32\gamemodes\whisper.pwn(2) : error 036: empty statement
D:\window 0.3e\samp03e_svr_win32\gamemodes\whisper.pwn(2) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Alles anzeigen
lg