Search Results
Display Vehicle Names (random Color + fade)
PHP Code:
#include <a_samp>
static const RandomColors[][] =
{
    "~r~", "~w~", "~g~", "~b~", "~y~", "~p~",
    "~r~~h~", "...
118,220
Rainbow Car
PHP Code:
#include <a_samp>
#include <foreach>
#include <zcmd>
#define CAR_RAINBOW_DELAY (150)
static bool:car_rainbow[MAX_PLAYERS char] = {false,...};
...
118,220
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...
118,220
Fix knife desync
PHP Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(reason == 4)
    {
        new world = GetPlayerVirtualWorld(playerid);
       Â...
118,220
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: ...
1,057
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...
118,220
PHP Code:
if(GetVehicleSpeed(GetPlayerVehicleID(playerid), 2) <= 210)if(GetVehicleSpeed(GetPlayerVehicleID(playerid), 2) >= 210)Â
1,658
PHP код:
#include <a_samp>#include <stamina>#include <progress2>#include <zcmd>new sbtime[MAX_PLAYERS];new PlayerBar:StaminaBar[MAX_PLAYERS];public OnPlayerConnec...
3,610
Quote:
Originally Posted by Injury
Код:
public es_StaminaUpdate()
{
new animlib[32], animname[32];
foreach(new i : Player)
{
GetAnimationName(GetPlayerAnimationInde...
3,610
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 >...
3,610
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...
3,610
PHP Code:
Float:FloatClamp(Float:value, Float:min, Float:max){    if(value < min || value > max)    {        if(value < min) return min;        if(valu...
231,711
PHP код:
new string[128], name[MAX_PLAYER_NAME];Â
531
Quote:
Originally Posted by TokicMajstor
When i start server I see this:
Вложение 12208
Update you'r fcnpc plugin
11,766
ohh sorry my bad
PHP код:
ObiectTreasure = CreatePickup(RandomT[random(sizeof(RandomT))], 21, gRandomPositions[rand][0], gRandomPositions[rand][1], gRandomPositions[rand][2]);Â
753
PHP код:
ObiectTreasure = CreatePickup(random(sizeof(randobj)), 21, gRandomPositions[rand][0], gRandomPositions[rand][1], gRandomPositions[rand][2]);Â
753
You could do like this:
PHP код:
static const randobj[] =
{
    1276, 1550, 1210, 1270, 1247
};
ObiectTreasure = CreateObject(random(sizeof(randobj)), //rest codeÂ
753
Quote:
Originally Posted by SymonClash
What does?
Show red X on aim when you shoot players
118,220
