Jump to content
  • 0

AM un cod dar nustiu cum sa il pun in GM


Question

Posted

Buna , am acest cod:

//==============================================================================

// Advertisement Check

//==============================================================================

stock AdvertisementCheck(string[])

{

if(string[0])

{

if(!strfind(string,"www.",false) || !strfind(string,"http://",false)

|| !strfind(string,".com",false) || !strfind(string,".net",false)

|| !strfind(string,".de",false)  || !strfind(string,".org",false))

  return true;

 

new c=1,idx,tmp[32],ip[4];

for(new i=0;i<strlen(string);i++)

  if(string==' ')

  c++;

for(new i=0;i<c;i++)

{

    idx=0;

    tmp = L_strtok(string,idx);

    idx=0;

    tmp = L_strtok(tmp,idx,':');

ip=SplitIP(tmp);

if(ip[0] && ip[1] && ip[2] && ip[3]) // We have found and IP :o

  return true;

}

}

return false;

}

DAR NUSTIU CUM SA`L pun in gm ,daca ma poate cineva ajuta ,va roog :-[ :P ::),ziceti-mi macar la c e linie sa-l pun ,sau unde [LINIA E LUATA DE LA SCRIPTUL "LUXADMIN",03.A,EU VREAU SA PUN CODUL LA 02.X ,IN GM,OARE MERGE?  MULTUMESC MULT

EDIT: SI APP,de ce am 1 steluta adica incepator,aveam 2 stele - avanstat de ce /? nu`i drept

qdbjz10.png

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.