Tag Mismatch
#2

pawn Код:
dcmd_infodoboz(playerid, params[])
{
    new swtch[10];
    if(sscanf(params, "s", swtch)) return SendClientMessage(playerid, colorFAIL, "Hasznбlat: /infodoboz <be/ki>");
    if(strcmp(swtch, "be", true) || strcmp(swtch, "ki", true)) return SendClientMessage(playerid, colorFAIL, "Hasznбlat: /infodoboz <be/ki>");
    if(!strcmp(swtch, "be", true))
    {
        TextDrawShowForPlayer(playerid, Infobox[0]);
        TextDrawShowForPlayer(playerid, Infobox[1]);
        SendClientMessage(playerid, colorSUCCESS, "Infodoboz bekapcsolva!");
    }
    else if(!strcmp(swtch, "ki", true))
    {
        TextDrawHideForPlayer(playerid, Infobox[0]);
        TextDrawHideForPlayer(playerid, Infobox[1]);
        SendClientMessage(playerid, colorSUCCESS, "Infodoboz kikapcsolva!");
    }
    return 1;
}
Reply


Messages In This Thread
Tag Mismatch - by Nonameman - 01.08.2010, 07:10
Re: Tag Mismatch - by bigcomfycouch - 01.08.2010, 07:34
Re: Tag Mismatch - by Nonameman - 01.08.2010, 07:50
Re: Tag Mismatch - by Simon - 01.08.2010, 08:01
Re: Tag Mismatch - by Nonameman - 01.08.2010, 08:37

Forum Jump:


Users browsing this thread: 1 Guest(s)