Jump to content

YumeDany

Membru
  • Posts

    67
  • Joined

  • Last visited

    Never

Posts posted by YumeDany

  1. stuntman[]!" post="84694" timestamp="1310554917"]

    1. Da, ce multe detalii ai dat. Vezi sa n-ai la register ceva gen AccInfo[ playerid ][ pMute ] = 1;

    2. Vezi ca la OnPlayerCommandText la final sa ai return 0;, si in GM si in FS-uri.

    3. Mareste maxplayers din server.cfg

    !!!

    2 nu am nici un return la OnPlayerCommandText

    3 am host de 50 player in servar.cfg are 50 .. in gamecp 50 sloturi .. e din GM dar nu stiu de unde

  2. 1 Am un mod .. dupa ce te inregistrez ai mute !

    2 am un mod dupa ce il compilez  nu mai imi merge nici o comanda ... daca il bag asa fara sa il compilez / editez / modific merge tot

    3 am un mod care nu accepta mai mult de 25 de conexiuni

    Problemele astea leam mai postat doar ca nu mi s-a raspuns !!

  3. Mai am un mod RolePlay Hard !!

    Am o problema cand ii modific ceva in el si il compilez se compileaza corevt si bine ,  deschid sau il pun pe host nu mai imi merge nici o comanda

    Daca il bag ne ediat merg comenzile .. am mai postat odata acest model dar nu mi s-a raspuns

  4. C:\Documents and Settings\Administrator\Desktop\idhdrp.pwn(2253) : error 021: symbol already defined: "CarID"

    C:\Documents and Settings\Administrator\Desktop\idhdrp.pwn(5580) : error 028: invalid subscript (not an array or too many subscripts): "CarID"

    C:\Documents and Settings\Administrator\Desktop\idhdrp.pwn(5580) : warning 215: expression has no effect

    C:\Documents and Settings\Administrator\Desktop\idhdrp.pwn(5580) : error 001: expected token: ";", but found "]"

    C:\Documents and Settings\Administrator\Desktop\idhdrp.pwn(5580) : error 029: invalid expression, assumed zero

    C:\Documents and Settings\Administrator\Desktop\idhdrp.pwn(5580) : fatal error 107: too many error messages on one line

    Linia 2253

    new CarID[MAX_PLAYERS];
    Linia 5580
    CarID[playerid] = 0;

    DISPER HeLP me plezz

  5. public OnPlayerRegister(playerid, password[])
    {
    	if(IsPlayerConnected(playerid))
    	{
    		    new string3[32];
    			new playername3[MAX_PLAYER_NAME];
       new WantedLevel[MAX_PLAYER_NAME];
    			GetPlayerName(playerid, playername3, sizeof(playername3));
    			format(string3, sizeof(string3), "users/%s.ini", playername3);
    			new File: hFile = fopen(string3, io_write);
    			if (hFile)
    			{
    			    strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
    			    new var[32];
    				format(var, 32, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var);
    				PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid); 
    if(dialogid == 12345)
    		{
    		    if(strlen(inputtext))
    		    {
    				GetPlayerName(playerid, sendername, sizeof(sendername));
    				format(string, sizeof(string), "users/%s.ini", sendername);
    				new File: hFile = fopen(string, io_read);
    				if (hFile)
    				{
    					SendClientMessage(playerid, COLOR_YELLOW, "That Username is already taken, please choose a different one.");
    					fclose(hFile);
    					return 1;
    				}
    				new tmppass[64];
    				strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
    				Encrypt(tmppass);
    				OnPlayerRegister(playerid,tmppass);
    			}
    			else
    			{
     				new regstring[128];
    				new regname[64];
    				GetPlayerName(playerid,regname,sizeof(regname));
    				format(regstring,sizeof(regstring),"Bun venit,{00CC00} %s\n {FFFFFF}Nu esti inregistrat.\nTe rog scrie-ti parola aici:",regname);
    				ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Register",regstring,"Register","Exit");
    			}
    		}
    	}
    stock strvalEx( const string[] )
    {
       //Register Protection
       if( strlen( string ) >= 50 ) return 0;
       return strval(string);
    }
    if (gPlayerAccount[playerid] != 0)
    		{
    			new loginstring[128];
    			new loginname[64];
    			GetPlayerName(playerid,loginname,sizeof(loginname));
    			format(loginstring,sizeof(loginstring),"{FFFFFF}Bine ai Revenit {00CC00} %s\n{FFFFFF}Acest nick este inregistrat.\n{FFFFFF}Te poti loga acum:",loginname);
    			ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit");
    		}
    public OtherTimer()
    {
    	new string[256];
    	new Float:oldposx, Float:oldposy, Float:oldposz;
        for(new i = 0; i < MAX_PLAYERS; i++)
    	{
    	    if(IsPlayerConnected(i))
    	    {
                if(SafeTime[i] > 0)
    			{
    				SafeTime[i]--;
    			}
    			if(SafeTime[i] == 1)
    			{
    				if(gPlayerAccount[i] == 1 && gPlayerLogged[i] == 0)
    				{
    				    new loginname[64];
    					new loginstring[128];
    					GetPlayerName(i,loginname,64);
    					format(loginstring,sizeof(loginstring),"{00FFFF}Bun Venit pe UnionComunity RolePlay, {FF0000} %s\n {00FFFF}Te poti loga acum:",loginname);
    					ShowPlayerDialog(i,12346,DIALOG_STYLE_INPUT,"Login",loginstring,"Intrare","Iesire");
    				}
    			}
    new loginstring[128];
    				new loginname[64];
    				GetPlayerName(playerid,loginname,sizeof(loginname));
    				format(loginstring,sizeof(loginstring),"{00FFFF}Bun venit {FF0000} %s\nTe poti loga acum:",loginname);
    				ShowPlayerDialog(playerid,12346,DIALOG_STYLE_INPUT,"Login",loginstring,"Login","Exit");
    			}
    	}
    public OnPlayerLogin(playerid,password[])
    {
    
    
        ClearAnimations(playerid);//clear
    	SetPlayerHealth(playerid,0.0);
    	new tmp2[256];
        new string2[64];
    	new playername2[MAX_PLAYER_NAME];
        GetPlayerName(playerid, playername2, sizeof(playername2));
    	format(string2, sizeof(string2), "users/%s.ini", playername2);
    	new File: UserFile = fopen(string2, io_read);
    	if ( UserFile )
    	{
    	    new PassData[256];
    	    new keytmp[256], valtmp[256];
    	    fread( UserFile , PassData , sizeof( PassData ) );
    	    keytmp = ini_GetKey( PassData );
    	    if( strcmp( keytmp , "Key" , true ) == 0 )
    		{
    			valtmp = ini_GetValue( PassData );
    			strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255);
    		}
    		if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
    		{
    			    new key[ 256 ] , val[ 256 ];
    			    new Data[ 256 ];
           new WantedLevel[MAX_PLAYER_NAME];

  6. Am un mod .. il dezarhivez si il pornesc merge tot ..

    modific ceva il compilez se compilteaza bine dar cand intru pe servar nu mai merge nici o comanda ..

    Ma ajutati ? post replay pliz 

    FF bine s-a compilat

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    Header size:          12584 bytes

    Code size:          3329616 bytes

    Data size:          7754860 bytes

    Stack/heap size:      16384 bytes; estimated max. usage=7280 cells (29120 bytes)

    Total requirements:11113444 bytes

  7. Salut all ! vreau sa stiu si eu cum pot baga radiou comunitati mele pe sv de samp .. am incercat cu un FS de pe net dar era radio zu si alte radiouri mari .. +nu mergeau !

    As dori sa incerc ceva noi deacea vreau sa bag radio pe servar

  8. Buna ziua/ serara !

    Am nevoe de o mica informatie daca se poate va rog ! am un mod si are un bug la register !

    Sa va explic : Intri pe sv te inregistrez si nu poti vorbi doar pe /b /s

    Daca dai un relog (iesi si intri iara ) poti vorbi ! .. nustiu ce are

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