Jump to content

Question

Posted

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;

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.