Jump to content

heker

Membru
  • Posts

    617
  • Joined

  • Last visited

    Never

Posts posted by heker

  1. adauga la sfarsitul gm-ului

    strtok(const string[], &index)
    {
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
    index++;
    }

    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
    result[index - offset] = string[index];
    index++;
    }
    result[index - offset] = EOS;
    return result;
    }

  2. adauga sa sfarsitul gamemodului

    strtok(const string[], &index)
    {
    	new length = strlen(string);
    	while ((index < length) && (string[index] <= ' '))
    	{
    		index++;
    	}
    
    	new offset = index;
    	new result[20];
    	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    	{
    		result[index - offset] = string[index];
    		index++;
    	}
    	result[index - offset] = EOS;
    	return result;
    }

  3. http://wiki.sa-mp.com/wiki/Strcat

    http://wiki.sa-mp.com/wiki/Strcat

    http://wiki.sa-mp.com/wiki/Strcat

    http://wiki.sa-mp.com/wiki/Strcat

    http://wiki.sa-mp.com/wiki/Strcat

    http://wiki.sa-mp.com/wiki/Strcat

    http://wiki.sa-mp.com/wiki/Strcat

    ai vazut exemplul acum ?

  4. ShowPlayerDialog(playerid,DIALOG_FACTIONS,DIALOG_STYLE_MSGBOX,"Factiunile server-ului:","1.Police Departament.\n 2.Federal Bureau of Investigations \n\
     3.National Guard \n 4.Fireman/Medics \n 5.Yakuza Family \n 6.Triads Family \n \
     7.Mayor \n 8.The Hitman Agency \n 9. News Reporters \n 10.Taxi Drivers \n 11.Instructors \n \
     12. Barzini Family \n 13.Leone family \n 14.Diablos family \n 15.Stracci Family \n 16.Tow Car Company \n \
     17.People Racing \n 18.The Stunters Gang \n 19.Grove Street","OK","BACK");

×
×
  • 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.