Schreib mal deinen Befehl so:
if(strcmp(cmd, "/vote", true) == 0)
{
if(vote == 0)
{
SendClientMessage(playerid, COLOR_LIGHTRED,"vote = 0, deshalb geht es net !");
return 1;
}
votes += 1;
new pname[24],stext[128];
GetPlayerName(playerid,pname,sizeof(pname));
format(stext,sizeof(stext),"%s has voted %d",pname,votes);
SendClientMessageToAll(COLOR_LIGHTRED, stext);
return 1;
}