Search Results
Display Vehicle Names (random Color + fade)
PHP Code:
#include <a_samp>
static const RandomColors[][] =
{
    "~r~", "~w~", "~g~", "~b~", "~y~", "~p~",
    "~r~~h~", "...
52,993
Rainbow Car
PHP Code:
#include <a_samp>
#include <foreach>
#include <zcmd>
#define CAR_RAINBOW_DELAY (150)
static bool:car_rainbow[MAX_PLAYERS char] = {false,...};
...
52,993
Quote:
Originally Posted by OstGot
And what if the player killed in vw more that 0? For example, some servers have dm areas in other interiors and virtual worlds or something, so it's more...
52,993
Fix knife desync
PHP Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(reason == 4)
    {
        new world = GetPlayerVirtualWorld(playerid);
       Â...
52,993
Quote:
Originally Posted by NoteND
PHP Code:
if(Z < 0.0) return SendClientMessage(playerid, -1, "You are in water.");Â
Anything under 0 is in water
Wrong!
OT: ...
389
Anti Rapid Fire
PHP Code:
#include <a_samp>
static const Rapid_Amount[17] =
{
    10, 7, 5, 5, 10, 10, 25, 15, 15, 15, 25, 3, 4, 0, 0, 0, 75
};
static p_bullets_w...
52,993
PHP Code:
if(GetVehicleSpeed(GetPlayerVehicleID(playerid), 2) <= 210)if(GetVehicleSpeed(GetPlayerVehicleID(playerid), 2) >= 210)Â
462
PHP код:
#include <a_samp>#include <stamina>#include <progress2>#include <zcmd>new sbtime[MAX_PLAYERS];new PlayerBar:StaminaBar[MAX_PLAYERS];public OnPlayerConnec...
1,680
Quote:
Originally Posted by Injury
Код:
public es_StaminaUpdate()
{
new animlib[32], animname[32];
foreach(new i : Player)
{
GetAnimationName(GetPlayerAnimationInde...
1,680
Quote:
Originally Posted by Injury
Looks good, but your are calling functions inside iterator, if you replace with variable directly should be more optimized.
Example: GetPlayerStamina >...
1,680
STAMINA
This include allows you to control player's stamina, You can make fat skins get tired faster than slim skins etc...
How to include:
Код:
#define FILTERSCRIPT
#define STAMINA_UPDATE_TI...
1,680
PHP Code:
Float:FloatClamp(Float:value, Float:min, Float:max){    if(value < min || value > max)    {        if(value < min) return min;        if(valu...
106,707
PHP код:
new string[128], name[MAX_PLAYER_NAME];Â
179
Quote:
Originally Posted by TokicMajstor
When i start server I see this:
Вложение 12208
Update you'r fcnpc plugin
6,201
ohh sorry my bad
PHP код:
ObiectTreasure = CreatePickup(RandomT[random(sizeof(RandomT))], 21, gRandomPositions[rand][0], gRandomPositions[rand][1], gRandomPositions[rand][2]);Â
239
PHP код:
ObiectTreasure = CreatePickup(random(sizeof(randobj)), 21, gRandomPositions[rand][0], gRandomPositions[rand][1], gRandomPositions[rand][2]);Â
239
You could do like this:
PHP код:
static const randobj[] =
{
    1276, 1550, 1210, 1270, 1247
};
ObiectTreasure = CreateObject(random(sizeof(randobj)), //rest codeÂ
239
Quote:
Originally Posted by SymonClash
What does?
Show red X on aim when you shoot players
52,993