Jump to content
  • 0

Gamemode Burned | Ajutor la comanda [/v]


iStack

Question

5 answers to this question

Recommended Posts

  • 0

Cel mai bine e sa faci spawnare in radius ca sa nu deranjezi alti jucatori,exemplu: a iesit playerul din masina ca sa cumpere ceva si tu hop spawnezi toate automobilele....ca sa nu te complici iti dau comanda gata facuta

CMD:rescar(playerid, params[]) {
	( --verificarea daca este adrministrator-- ) return SendClientMessage( playerid, -1, !"Nu ai aceasta permisiune" );
  
    if( sscanf( params,"d", params[0] ) ) return SendClientMessage( playerid, -1, !"/rescar [radius]" );
    if( params[ 0 ] <= 0 ) return SendClientMessage( playerid, -1, !"Introduci cifre care sunt interzise);
  
    for(new i = 1, j = GetVehiclePoolSize(); i <= j; i++)
    {
        new Float: x,Float: y,Float: z;
        GetVehiclePos( i,x,y,z );
        if( IsPlayerInRangeOfPoint(playerid,params[ 0 ],x,y,z) ) SetVehicleToRespawn( i );
    }                                               
	return true;
}

 

Edited by K H A I N
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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