Sziasztok! Ebbe mi a hiba?
[pawn]public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/ho\", cmdtext, true, 10)||(strcmp(\"/hó\", cmdtext, true, 10) == 0)
{
if(Snow_F[playerid] == 0) {
Snow_F[playerid] = 1;
Charged[playerid] = 0;
Shoot[playerid] = 0;
SetPlayerPos(playerid,-708.40002441,3796.19995117,9.69999981);
new res22[500], iName[128];
GetPlayerName(playerid,iName,sizeof(iName));
format(res22,sizeof(res22),\"{0088FF}Hey {FF0000}%s{0088FF}!\\nYou\'ve just started playing {15FF00}SnowBall Fight{0088FF} minigame.\\nIn this minigame , your goal is to hit as many players,\\nas you can , without being hit by them.\\nTo throw an snowball press : {FF7B0F}AIM Key\\n{FFFF0F}Good Luck! \",iName);
ShowPlayerDialog(playerid,9944,DIALOG_STYLE_MSGBOX,\"{FF0000}SnowBalls {FFFF00}Fight\",res22,\"Ok\",\"\");
}
else if(Snow_F[playerid] == 1) {
Snow_F[playerid] = 0;
SpawnPlayer(playerid);
}
return 1;
}
return 0;
}
[/pawn]
Ezt írja ki:error 029: invalid expression, assumed zero, a második [pawn]{[/pawn] jelre.
[mod=Benceee]A cím utaljon a tartalomra! Módosítva.[/mod]