Jump to content

vampir_MD

Membru
  • Posts

    443
  • Joined

  • Last visited

Posts posted by vampir_MD

  1. [glow=black,2,300]Vwepons[/glow]

    [glow=black,2,300]Informati:[/glow]

    Este un FS micut de arme cind intri intro masina dai ctrl si iti apare un menu cu arme , pe care poti sa le cumperi si se deschide porbagaju!

    [glow=black,2,300]Poze:[/glow]

    gtasa2011062416205720.jpg

    [img width=500 height=375]http://img809.imageshack.us/img809/285/gtasa2011062416210075.jpg

    [img width=500 height=375]http://img847.imageshack.us/img847/2015/gtasa2011062416210735.jpg

    [glow=black,2,300]Download:[/glow]

    PWN + AMX

    [glow=black,2,300]Credits:[/glow]

    Vampir_MD

    !!=-[GZS]stuntman-=!! - Ma ajutat la un lucru care il voi aplica in versiune urmatoare

    [glow=black,2,300]Test[/glow]

    Ryder_RO

  2. Foarte tare mapa.

    Te deranjeaza daca o folosesc pentru Drift World ?

    Este foarte buna si eu nu am timp sa fac mape...

    Normal ca o sa ai credite.

    E tot ce vrei daca e postat e pentru toti :))

  3. E doar un ex:

    Ai neon si vrei ca cand se da jos din masina sa dispara sau cind moare. ca sa nu faca bug pe sv si sa nu impli gm numai cu neon il faci in stock si il pui unde vrei

    stock neon(playerid)
    {
        DestroyObject(GetPVarInt(playerid, "neon"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon1"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon2"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon3"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon4"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon5"));
       	DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon6"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon7"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon8"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon9"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon10"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon11"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon12"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "neon13"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "interior"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "interior1"));
        DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "back"));
        DeletePVar(playerid, "Status");
       	DestroyObject(GetPVarInt(playerid, "back1"));
       	DeletePVar(playerid, "Status");
    	DestroyObject(GetPVarInt(playerid, "front"));
    	DeletePVar(playerid, "Status");
    	DestroyObject(GetPVarInt(playerid, "front1"));
    	DeletePVar(playerid, "Status");
    	DestroyObject(GetPVarInt(playerid, "undercover"));
    	DeletePVar(playerid, "Status");
        DestroyObject(GetPVarInt(playerid, "undercover1"));
        DeletePVar(playerid, "Status");
    }

  4. Salut,

    Cand intru pe server si scriu o comanda /zi sau /credits sau /nrg oarecare imi da USAGE:/givecash [playerid] [suma]

    Si am intrat in GM am sters comanda /givecash, il copilez si ii dau drumu si tot asa face cand scriu o comanda imi da altceva nu imi da cu givecash imi da cu ceva cu masini un dialog acolo....

    Ce pot sa fac, sunt sigur ca daca sterg si aia o sa apara altceva, va rog ajutatima multumesc.

    Ai bagat ZCMD

  5. stuntman-=!!" post="78292" timestamp="1308504296"]

    Doar ai inlocuit cmdtext cu params ... mai bine cu ZCMD + sscanf si e MULT mai simplu:

    CMD:pm( playerid, params[ ] )
    {
    	new gMessage[ 128 ], Message[ 128 ];
    	new pName[MAX_PLAYER_NAME], iName[ MAX_PLAYER_NAME ];
    
    	if( sscanf( params, "us[128]", params[ 0 ], params[ 1 ] ) ) return SendClientMessage( playerid, ADMINFS_MESSAGE_COLOR, "Usage: /pm (id) (message)" );
    
    	if( !IsPlayerConnected( params[ 0 ] ) ) return SendClientMessage( playerid,ADMINFS_MESSAGE_COLOR,"/pm : Bad player ID" );
    	if( playerid == params[ 0 ] ) return SendClientMessage( playerid,ADMINFS_MESSAGE_COLOR,"You cannot PM yourself" );
    
    	GetPlayerName( params[ 0 ], iName, MAX_PLAYER_NAME );
    	GetPlayerName( playerid, pName, MAX_PLAYER_NAME );
    	format( Message, 128,">> %s(%d): %s", iName, params[ 0 ], gMessage );
    	SendClientMessage( playerid, PM_OUTGOING_COLOR, Message );
    	format( Message, 128,"** %s(%d): %s", pName, playerid, gMessage );
    	SendClientMessage( params[ 0 ], PM_INCOMING_COLOR, Message );
    	PlayerPlaySound( params[ 0 ], 1085, 0.0, 0.0, 0.0 );
    	return 1;
    }

    I-am facut si cateva modificari.

    Da cineva asta nu situ si ii vine mai usor sa schimbe cmdtext cu params

  6. [glow=black,2,300]Cum sa faci sa-ti mearga Strtok in ZCMD[/glow]

    Aici este comands /pm va voi explica cum sa il faceti pentru ZCMD

    Sa incepem

    Asa arata comando in cmdtext

    if(strcmp("/pm", cmd, true) == 0)
    	{
    		new idx,id;
    	        new tmp[256];
    		new gMessage[256];
    		new pName[MAX_PLAYER_NAME+1];
    		new Message[256];
    		new iName[MAX_PLAYER_NAME+1];
                    tmp = strtok(cmdtext,idx);
    		if(!strlen(tmp) || strlen(tmp) > 5) {
    			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)");
    			return 1;
    		}
            gMessage = strrest(cmdtext,idx);
    
    		if(!strlen(gMessage)) {
    			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)");
    			return 1;
    		}
    
    		if(!IsPlayerConnected(id)) {
    			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"/pm : Bad player ID");
    			return 1;
    		}
    		if(playerid != id) {
    			GetPlayerName(id,iName,sizeof(iName));
    			GetPlayerName(playerid,pName,sizeof(pName));
    			format(Message,sizeof(Message),">> %s(%d): %s",iName,id,gMessage);
    			SendClientMessage(playerid,PM_OUTGOING_COLOR,Message);
    			format(Message,sizeof(Message),"** %s(%d): %s",pName,playerid,gMessage);
    			SendClientMessage(id,PM_INCOMING_COLOR,Message);
    			PlayerPlaySound(id,1085,0.0,0.0,0.0);
    
    			printf("PM: %s",Message);
    
    		}
    		else {
    			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"You cannot PM yourself");
    		}
    		return 1;
        }
    Acum sa incepem sal facem pentru ZCMD COMMAND:pm(playerid,params[]) Il punem cum trebuie sa fie pentru ZCMD eu am pus COMMAND da poti sa pui CMD:pm mai prescurtat {       new idx,id;   new tmp[256]; new gMessage[256]; new pName[MAX_PLAYER_NAME+1]; new Message[256]; new iName[MAX_PLAYER_NAME+1]; tmp = strtok(params,idx); Aici cum vedeti damu nu se mai pune cmdtext punem doar params   if(!strlen(tmp) || strlen(tmp) > 5) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)"); return 1; }             gMessage = strrest(params,idx); Aici la fel se pune params nu cmdtext if(!strlen(gMessage)) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)"); return 1; } if(!IsPlayerConnected(id)) { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"/pm : Bad player ID"); return 1; } if(playerid != id) { GetPlayerName(id,iName,sizeof(iName)); GetPlayerName(playerid,pName,sizeof(pName)); format(Message,sizeof(Message),">> %s(%d): %s",iName,id,gMessage); SendClientMessage(playerid,PM_OUTGOING_COLOR,Message); format(Message,sizeof(Message),"** %s(%d): %s",pName,playerid,gMessage); SendClientMessage(id,PM_INCOMING_COLOR,Message); PlayerPlaySound(id,1085,0.0,0.0,0.0); printf("PM: %s",Message); } else { SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"You cannot PM yourself"); } return 1;     } Gata am terminat e foarte usor Aici comando Complet
    COMMAND:pm(playerid,params[])
    	{
                    new idx,id;
    	        new tmp[256];
    		new gMessage[256];
    		new pName[MAX_PLAYER_NAME+1];
    		new Message[256];
    		new iName[MAX_PLAYER_NAME+1];
    		tmp = strtok(params,idx);
    		if(!strlen(tmp) || strlen(tmp) > 5) {
    			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)");
    			return 1;
    		}
                   gMessage = strrest(params,idx);
    
    		if(!strlen(gMessage)) {
    			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)");
    			return 1;
    		}
    
    		if(!IsPlayerConnected(id)) {
    			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"/pm : Bad player ID");
    			return 1;
    		}
    		if(playerid != id) {
    			GetPlayerName(id,iName,sizeof(iName));
    			GetPlayerName(playerid,pName,sizeof(pName));
    			format(Message,sizeof(Message),">> %s(%d): %s",iName,id,gMessage);
    			SendClientMessage(playerid,PM_OUTGOING_COLOR,Message);
    			format(Message,sizeof(Message),"** %s(%d): %s",pName,playerid,gMessage);
    			SendClientMessage(id,PM_INCOMING_COLOR,Message);
    			PlayerPlaySound(id,1085,0.0,0.0,0.0);
    
    			printf("PM: %s",Message);
    
    		}
    		else {
    			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"You cannot PM yourself");
    		}
    		return 1;
        }

    Daca sunt ceva nelamuriri spuneti si voi da edit

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