SA-MP Forums Archive
I need help with a few things - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need help with a few things (/showthread.php?tid=201550)



I need help with a few things - Noss* - 21.12.2010

Solved


Re: I need help with a few things - akis_tze - 21.12.2010

To have Night 24/7
pawn Код:
public OnPlayerUpdate(playerid)
{
    SetPlayerTime(playerid,0,0); //midnight
    return 1;
}



Re: I need help with a few things - Noss* - 21.12.2010

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
To have Night 24/7
pawn Код:
public OnPlayerUpdate(playerid)
{
    SetPlayerTime(playerid,0,0); //midnight
    return 1;
}
Thanks,It works

Does anyone know how to do the other two?


Respuesta: Re: I need help with a few things - admantis - 21.12.2010

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
To have Night 24/7
pawn Код:
public OnPlayerUpdate(playerid)
{
    SetPlayerTime(playerid,0,0); //midnight
    return 1;
}
your stupid... that goes on GameModeInit not on PlayerUpdate, it's a waste of memory!


Re: Respuesta: Re: I need help with a few things - akis_tze - 21.12.2010

Quote:
Originally Posted by admantis
Посмотреть сообщение
your stupid... that goes on GameModeInit not on PlayerUpdate, it's a waste of memory!
Man don't speak like that... Ok my mistake! All we do mistakes..


Respuesta: Re: Respuesta: Re: I need help with a few things - admantis - 21.12.2010

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
Man don't speak like that... Ok my mistake! All we do mistakes..
sorry but that.. was pretty obvious, lol


Re: I need help with a few things - Noss* - 21.12.2010

Uhh. Okay i will change that

That was a bit rude Admantis,Lol
So anyone know the other answers ? :P


Re: I need help with a few things - blackwave - 21.12.2010

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
To have Night 24/7
pawn Код:
public OnPlayerUpdate(playerid)
{
    SetPlayerTime(playerid,0,0); //midnight
    return 1;
}
That would lag.. For midnight 4ever, just put on Your gamemodeinit or FSinit (depends what your using):
pawn Код:
SetWorldTime(0);
And if toggleplayerclock were actived, turn it off


Re: I need help with a few things - akis_tze - 21.12.2010

How you change your skin in game?? Example: in shop like rp servers? with cmd? with what?


Respuesta: Re: I need help with a few things - admantis - 21.12.2010

Quote:
Originally Posted by Noss*
Посмотреть сообщение
Uhh. Okay i will change that

That was a bit rude Admantis,Lol
So anyone know the other answers ? :P
Yes, cover the water with a music sound
pawn Код:
new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid,X,Y,Z);
    PlayerPlaySound(playerid,1187,X,Y,Z);
For animations use ApplyAnimation