Some help , please
#1

Hello . I need help .

How to make players to be able to change their time/weather by their selves ?

And can someone give me basic and easier register/login system with nothing special for advanced scripters , that I could edit by my own .

Thanks in advance .
Reply
#2

bump
Reply
#3

Hello sir, here is a tutorial for register and login system : https://sampforum.blast.hk/showthread.php?tid=273088
You have to change #define Dialogs to a higher value in case you have already defined some dialogs to 1 , 2 , 3 and 4.
Also about changing time / weather, I advise you to use Zcmd on your script for Commands.
pawn Код:
#include <zcmd> // in the top of your script

CMD:mytime(playerid, params[])
{
        new time;
        if (!sscanf(params, "i", time))
        {
               new message[64];
               SetPlayerTime(playerid, time, 0);
           format(message, sizeof(message), "Your time has been set to %i.", time);
               SendClientMessage(playerid, 0x00FF00FF, message);
        }
        else SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /mytime <hour>");
        return 1;
}
CMD:myweather(playerid, params[])
{
        new time;
        if (!sscanf(params, "i", weather))
        {
               new message[64];
               SetPlayerWeather(playerid, weather);
           format(message, sizeof(message), "Your weather has been set to %i.", weather);
               SendClientMessage(playerid, 0x00FF00FF, message);
        }
        else SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /myweather <weatherID>");
        return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)