Also mein problem ist ein cmd hier public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/cmdlist", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,blau,"[-------------------------------------]");
SendClientMessage(playerid,blau,"/kill Weitere Folgen");
}
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid,0);
GameTextForPlayer(playerid,"Selbstmord ist keine loesung",5000,3);
}
if (strcmp("/cars", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,2494,594727,-1667005615,13,382813); <-------------- der /cars befehl
}
return 0;
}
und da kommen 2 warnings:
C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(103) : warning 202: number of arguments does not match definition
C:\Users\kevin\Desktop\Samp server\gamemodes\Rootmod.pwn(103) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
whats now??