Jump to content
  • 0

Ajutor /rac Cmd


Razvan Balan

Question

De curand mi-am descarcat un gamemode de pe net, insa am gasit un bug legat de comanda /rac. Apare in chat All unused cars will be respawned in 10 seconds by admin x sau ceva de genul si le da un fel de refresh(dispar si apar) ca si cum ai dat /park de iti spawneaza masina unde ai park. Cum fac sa se respawneze masinile nefolosite?Ca vreau usor usor sa modific gamemode-ul acesta si sa adaug alte comenzi si chestii usor, usor. PRECIZEZ ca sunt la inceput si de abia ieri am inceput sa folosesc pawno, cu mici tutoriale.

 CMD:rac(playerid, params[])
{
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pAdmin] < 3)
            {
                SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
                return 1;
            }
            new string[256], sendername[30];
            SetTimer("RACtime", 10000, 0);
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string,sizeof(string),"{FFFFFF}All unused cars will be respawned in {009999}10 {FFFFFF}seconds by %s!", sendername);
            SendClientMessageToAll(COLOR_WHITE,string);
        }
        return 1;

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.