[pomoc] ClearChatbox

Započeo Hayes, Januar 28, 2011, 22:58:40 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Evo to sam forwardo i opet pise ovo

C:\Documents and Settings\Haso\Desktop\HASO\GameModovi\MRP\gamemodes\gf.pwn(25113) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Haso\Desktop\HASO\GameModovi\MRP\gamemodes\gf.pwn(25121) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Haso\Desktop\HASO\GameModovi\MRP\gamemodes\gf.pwn(25126) : error 004: function "ClearChatbox" is not implemented
C:\Documents and Settings\Haso\Desktop\HASO\GameModovi\MRP\gamemodes\gf.pwn(25133) : error 004: function "ClearChatbox" is not implemented


Eto molim pomoc jer mi je bitno :D

#define ClearChat(%1,%2) for(new c; c < %2; c++) SendClientMessage(%1,0xFFFFFFAA,"   ")   

To dodaj gore na vrh


    CMD:cc(playerid, params[]) 
    { 
   ClearChat(playerid, 20); 
       return 1; 
    }     

Citat: Vilko | ♦ ♣ ♥ ♠ » poslato Januar 29, 2011, 10:26:55 PRE PODNE
#define ClearChat(%1,%2) for(new c; c < %2; c++) SendClientMessage(%1,0xFFFFFFAA,"   ")   

To dodaj gore na vrh


    CMD:cc(playerid, params[]) 
    { 
   ClearChat(playerid, 20); 
       return 1; 
    }     

Nisi mislio da on ne koristi ZCMD?
For ya...


I'd catch a grenade for ya
Throw my hand on a blade for ya
I'd jump in front of a train for ya
You know I'd do anything for ya


BestOne.exe | Mapper | n00b Skripter | Bruno Mars Fan | Balkan SA:MP <3 | Fifa 11 <3


For ya...



Joj kako je tesko prebacit u strcmp
Aequam memento rebus in arduis servare mentem.

Citat: LuKsA poslato Januar 29, 2011, 10:54:17 PRE PODNE
Joj kako je tesko prebacit u strcmp
Meni nije teško, ali njemu ... jest!
For ya...


I'd catch a grenade for ya
Throw my hand on a blade for ya
I'd jump in front of a train for ya
You know I'd do anything for ya


BestOne.exe | Mapper | n00b Skripter | Bruno Mars Fan | Balkan SA:MP <3 | Fifa 11 <3


For ya...



Pocetnik sam bas skroz aj et ak moze code strcmp jer stvarno neznam (nemojte se smijat) xD poceo sam prije 7 dana :)


if (strcmp("/cc", cmdtext, true, 3) == 0)
{
   ClearChat(playerid, 20);   
return 1;
}


Ja nekoristim strcmp i neznam jel ovo tocno.. Ispravite me ako grijesim ;)

Nisi skontao ne treba mi to nego npr kad ulazim na server ja stavim

ClearChatbox(i, 10);  tj da pobrise 10 lineova automacki

I pise : "is nod implented" ne treba meni /cc komanda u tome je problem a forwardo sam ga


   ClearChat(playerid, 20);   


To stavi ispod OnPlayerConnect ;) I sve ce ti radit