Quantcast
Viewing all 18226 articles
Browse latest View live

[Map] Robô Gigante

Um simples mapa de um robô gigante, nunca tentei fazer um antes e nao tinha muita nocao de como fazer, mas enfim, nao exijam muito de mim pela primeira tentativa, kkkk'. com o tempo tento fazer alguns melhores e melhora-lhos.

Image may be NSFW.
Clik here to view.



Download: Clique Aqui
Mais Imagens: Clique Aqui
Creditos: AlieN_ Aka AdrianO

[Map] Giant Robot

A simple robot map in Las Venturas.

Image may be NSFW.
Clik here to view.



Download: Clique Aqui
More Images: Click Here
Credits: AlieN_ Aka AdrianO

Files.samp; Question.

If u have reviewed this link, you know that the sa-mp installers are there or were stored. (I ask this question, because no one has permission to look at them anymore)
If a person shares a link where sa:mp installers are, can it be banned by Kalcor? :confused:

some music cmds

Audio Stream for the driver and passenger of a car

Code:

new vw;
    new vid;
    vid = GetPlayerVehicleID(playerid);
    vw = GetPlayerVirtualWorld(playerid);
    foreach(Player, i)
    {
        if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "Usage: /your cmd [Link]");
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "You don't have a car");
        if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_RED, "You are not a driver!");
        if(GetPlayerVirtualWorld(i) == vw)
        if(GetPlayerVehicleID(i) == vid)
        {
          PlayAudioStreamForPlayer(i, params);
            new string[144];
            SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Radio{FFFF00} On{7FFF00}.{00FFFF}.{FF00FF}.{8A2BE2}.{808000}");
        }
        }
        }


__________________________________________________

Music in a World

Code:

new vw;
    vw = GetPlayerVirtualWorld(playerid);
    foreach(Player, i)
    {
        if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "Usage:: /vwm [Link]");
        if(GetPlayerVirtualWorld(i) == vw)
        {
            PlayAudioStreamForPlayer(i, params);
            new string[144];
        }
        }
        }



_______________________________________


Play All


Code:

new i;
        if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "Usage:: /vplayall [Link]");
        PlayAudioStreamForPlayer(i, params);
        }



_______________________________________________

Audio For one playyer

Code:

new id, link[256];
    new target;
    if(sscanf(params, "us[256]", id, link)) return SendClientMessage(playerid, -1, "/ppmp3 [PlayerID] [Link]");

    PlayAudioStreamForPlayer(id, link);
    new string[144];
        format(string, sizeof(string), "VIP %s[%i] <<your Name >> scm for Targer", ReturnPlayerName(playerid), playerid);
        SendClientMessage(target, COLOR_CYAN, string);
        format(string, sizeof(string), ">>Your Massage >>Targer Name %s[%i] ", ReturnPlayerName(target), target);
        SendClientMessage(playerid, COLOR_CYAN, string);
                      }

some Chat CMDS

Chat in vehicle [v id]

Code:

new vid;
    vid = GetPlayerVehicleID(playerid);
    new msg[128];
        new string[128];
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
        if(sscanf(params, "s[128]", msg)) return SendClientMessage(playerid, -1, "/cchat [Message]");
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, "You aren't inside any car");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
        if(GetPlayerVehicleID(i) == vid)
        {
        format(string,sizeof(string), "[Car Chat][%s]: %s", name, msg);
        SendClientMessage(i, COLOR_YELLOW, string);
        }
        }
        return 1;




__________________________________________


shout chat (150 Meter Chat)

Code:

new msg[128];
        new string[128];
        new Float:x, Float:y, Float:z;
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
        GetPlayerPos(playerid, x, y, z);
        if(sscanf(params, "s[128]", msg)) return SendClientMessage(playerid, -1, "/sh [Message]");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
        if(IsPlayerInRangeOfPoint(i, 150.0, x, y, z))
        {
        format(string,sizeof(string), "[%s][shout]: %s", name, msg);
        SendClientMessage(i, COLOR_VIOLET, string);
        }
        }
        return 1;
                      }

__________________________________________________ _____

whisper Chat (chat in 10 meter)

Code:

new msg[128];
        new string[128];
        new Float:x, Float:y, Float:z;
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
        GetPlayerPos(playerid, x, y, z);
        if(sscanf(params, "s[128]", msg)) return SendClientMessage(playerid, -1, "/wh [Message]");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
        if(IsPlayerInRangeOfPoint(i, 10.0, x, y, z))
        {
        format(string,sizeof(string), "[%s][whisper]: %s", name, msg);
        SendClientMessage(i, COLOR_GREY, string);
        }
        }
        return 1;
                      }

SAFull.hmap + My Map

How Can I convert my map SAFull.hmap ?

Sorry my english bad. :)

Problem with MySQL not finding column

Hey, I have a problem with checking my ban table. It is meant to get a few values from the ban table and display it in a dialog. However, it doesn't get ANY of the values and just outputs the same error for all of them. An example is posted below.

PHP Code:

            new DB_Query[128]; // too big but i just whacked a number in there
            
mysql_format(DatabaseDB_Querysizeof(DB_Query), "SELECT `username` FROM `bans` WHERE `username`='%e'"Name);
            
mysql_tquery(DatabaseDB_Query"ShowBanDialog""i"playerid); 

PHP Code:

cache_get_value_int(0"banid"BanID); 

And I get these errors:
PHP Code:

[DEBUGcache_get_value_name_int(0"banid"0x0400BED0)
[
ERRORcache_get_value_name_intfield 'banid' not found 

[GameMode] Dogfight server (under construction)

Hello everybody,

I create a gamemode in which players can dogfight each other using a rustler, hydra or an rc plane. Basically the space around area 51 is reserved for this game. You fly a plane that has both health and a fuel tank. When either one runs out, you die and will be respawned after 5 seconds. There are powerups that will spawn periodically which you can use to heal or refuel your plane. There is also a powerup that blurs the vision of your oponents. I intend on implementing more types of powerups.

Since I don't think there is a way to determine who fired the bullets that hit your vehicle there is also no real way of keeping score. The game is a free-for-all at the moment. It could be implemented in a last-man-standing manner but this would keep a lot of players waiting, personally I get super bored. Right now, players can join and leave at any moment they like.

The game sometimes removes players from the fight accidentally. I think this has something to do with consistency and I am still working on this. The game is not completely bug free yet, but getting there. I first wanna test if there even is interest in this game before I fully clean the code up and thoroughly debug.

I am open to suggestions on the keeping track of score part or ideas for powerups. I received multiple complaints about how the camera is positioned on the plane you're flying. Unfortunately I can not do anything about this on the server side. You should consider using a ps3 controller and using the right stick to control the camera and use the left stick to both control the rudder and the ailerons.

I am also open to helping to implement this as a filterscript in an existing server. I am not very active on this forum anymore but I will try to regularly check for updates the next few weeks.

Here is the repository:
https://github.com/Anteino/SAMP-Dogfight-server

Enjoy.

Cheers.

[Ayuda] spawnear un vehiculo detras de otro

Image may be NSFW.
Clik here to view.


Cómo spawnear un vehiculo ID: 435 (trailer) detras del vehiculo ID: 515 (roadtrain) para luego agregar funciones de Attach

cuales son las coordenadas ?

HOW TO FORCE A COMMAND IN ZCMD?

Hey...so when a player joins, the server automatically uses command for example /snow to
enable snow for player..but how to do that, please help

timestamptodate return wrong values

I felt that timestamptodate was not working properly in my gamemode and where I use it.
I tested timestamptodate once with the code above and returned these:
Hours: 04 - Minutes: 00 - Seconds: 00

pawn Code:
new date[6];
TimestampToDate(3200,date[0],date[1],date[2],date[3],date[4],date[5],3,30); //3200secs = 1hour , GMT = 3:30
printf("Hours: %02d - Minutes: %02d - Seconds: %02d",date[3],date[4],date[5]);
What's problem?

Help with textdraw

Hello, I need help with textdraw, I am making a notification system, and I have a problem, since being a long text is mixed with the others, they are 5 textdraw one below the other, I want to know how I do to make that textdraw of Do not mix with the one above, something like a GetTextDrawSize / Pos.

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

[FilterScript] --- Admin Chat ---

Description:

This script allows you to send messages preceded by "Admin" prefix

Commands:

/blue: Chat using blue color
/red: Chat using red color
/green: Chat using green color
/yellow: Chat using yellow color

Requirements:

sscanf2.inc, streamer.inc, zcmd.inc

Note:

You can change colors if you want by using #define [COLOR] [Color HEX]

Downloads:

Attached Files
Image may be NSFW.
Clik here to view.
File Type: zip
Admin Chat.zip (6.6 KB)

need kdffgui 025b link

Hello, i can't find link to collision program named kdffgui_025b_feb2019.zip, could someone upload it?

[0.3DL] Project Roleplay

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Website: https://www.gta-prp.com
Discord: discord.gg/nSavnqB
Server IP: 51.68.199.90:7777
Image may be NSFW.
Clik here to view.

The name "Project Roleplay" derives from the goal of the server - to provide a fresh roleplaying platform with new opportunities on the San Andreas Multiplayer modification. Years of experience in terms of development, roleplaying knowledge and administration have led to this eventual server release. With daily updates and highly detailed features implemented within the completely unique script you'll always have something to do here at Project Roleplay.

What makes Project Roleplay stand out from the crowd is the brand spanking new script accompanied by highly experienced managerial staff. The server management have been on the roleplaying scene for a long time and not only the roleplaying scene but have both administrated and directed their own communities at some point in time.

There's a lot to explore on Project Roleplay and we'd love to see you on the public beta which is occurring within the next week! Get a taste of nostalgia and fall in love with the game we all love and know once again. In preparation for our public beta we advise you to get involved on the forum, Discord, and get registered on the UCP. Once that's all done you're all set and ready to experience the heights of a blossoming roleplay community.

See you soon!

[Pedido] Pawn CMD

Tem como fazer o mesmo comando de pawn cmd, só que não criar o mesmo comando 2 vezes? Ex

PHP Code:

CMD:setarpericia(playeridparams[])
{
    static 
useridweaponskill;

    if(
sscanf(params"uii"useridweaponskill)) return SendErrorMessage(playerid""C_ERROR_CHAT" Uso Correto: /SetarPericia [giveplayerid] [weapon id] [skill]");
    if(
InfoPlayer[userid][Logged] == false) return SendErrorMessage(playerid""C_ERROR_CHAT" Jogador(a) não está logado(a)");
    if(!
IsSkillLevelWeapon(weapon)) return SendErrorMessage(playerid""C_ERROR_CHAT" Essa arma não é uma arma de perícia!");
    if(
skill || skill 999) return SendErrorMessage(playerid""C_ERROR_CHAT" Número de skill inválido!");

    new 
WeaponSkillLevel GetSkillLevelWeapon(weapon);

    
SCMEx(playerid0xD90000FF""TAG_ADMIN" Você setou para o %s %s(%i) %i de perícia da arma: %s(ID: %i) (Anterior: %i / Atual: %i)"GetPlayerCargoNome(userid), pNome(userid), useridskillGetWeaponNameID(weapon), weaponInfoPlayer[userid][LevelSkills][WeaponSkillLevel], skill);
    
SCMEx(userid0xD90000FF""TAG_ADMIN" O(A) %s %s(%i) setou para você %i de perícia da arma %s(ID: %i) (Anterior: %i / Atual: %i)"GetPlayerCargoNome(playerid), pNome(playerid), playeridskillGetWeaponNameID(weapon), weaponInfoPlayer[userid][LevelSkills][WeaponSkillLevel], skill);

    
SetPlayerSkillLevelEx(useridWeaponSkillLevelskill);
    return 
1;
}

CMD:setarkill(playeridparams[])
{
    return 
PC_EmulateCommand(playeridparams);


No caso eu não gosto que seja assim:

PHP Code:

CMD:setarpericia(playeridparams[])
{
    static 
useridweaponskill;

    if(
sscanf(params"uii"useridweaponskill)) return SendErrorMessage(playerid""C_ERROR_CHAT" Uso Correto: /SetarPericia [giveplayerid] [weapon id] [skill]");
    if(
InfoPlayer[userid][Logged] == false) return SendErrorMessage(playerid""C_ERROR_CHAT" Jogador(a) não está logado(a)");
    if(!
IsSkillLevelWeapon(weapon)) return SendErrorMessage(playerid""C_ERROR_CHAT" Essa arma não é uma arma de perícia!");
    if(
skill || skill 999) return SendErrorMessage(playerid""C_ERROR_CHAT" Número de skill inválido!");

    new 
WeaponSkillLevel GetSkillLevelWeapon(weapon);

    
SCMEx(playerid0xD90000FF""TAG_ADMIN" Você setou para o %s %s(%i) %i de perícia da arma: %s(ID: %i) (Anterior: %i / Atual: %i)"GetPlayerCargoNome(userid), pNome(userid), useridskillGetWeaponNameID(weapon), weaponInfoPlayer[userid][LevelSkills][WeaponSkillLevel], skill);
    
SCMEx(userid0xD90000FF""TAG_ADMIN" O(A) %s %s(%i) setou para você %i de perícia da arma %s(ID: %i) (Anterior: %i / Atual: %i)"GetPlayerCargoNome(playerid), pNome(playerid), playeridskillGetWeaponNameID(weapon), weaponInfoPlayer[userid][LevelSkills][WeaponSkillLevel], skill);

    
SetPlayerSkillLevelEx(useridWeaponSkillLevelskill);
    return 
1;
}

CMD:setarskill(playeridparams[])
{
    static 
useridweaponskill;

    if(
sscanf(params"uii"useridweaponskill)) return SendErrorMessage(playerid""C_ERROR_CHAT" Uso Correto: /SetarPericia [giveplayerid] [weapon id] [skill]");
    if(
InfoPlayer[userid][Logged] == false) return SendErrorMessage(playerid""C_ERROR_CHAT" Jogador(a) não está logado(a)");
    if(!
IsSkillLevelWeapon(weapon)) return SendErrorMessage(playerid""C_ERROR_CHAT" Essa arma não é uma arma de perícia!");
    if(
skill || skill 999) return SendErrorMessage(playerid""C_ERROR_CHAT" Número de skill inválido!");

    new 
WeaponSkillLevel GetSkillLevelWeapon(weapon);

    
SCMEx(playerid0xD90000FF""TAG_ADMIN" Você setou para o %s %s(%i) %i de perícia da arma: %s(ID: %i) (Anterior: %i / Atual: %i)"GetPlayerCargoNome(userid), pNome(userid), useridskillGetWeaponNameID(weapon), weaponInfoPlayer[userid][LevelSkills][WeaponSkillLevel], skill);
    
SCMEx(userid0xD90000FF""TAG_ADMIN" O(A) %s %s(%i) setou para você %i de perícia da arma %s(ID: %i) (Anterior: %i / Atual: %i)"GetPlayerCargoNome(playerid), pNome(playerid), playeridskillGetWeaponNameID(weapon), weaponInfoPlayer[userid][LevelSkills][WeaponSkillLevel], skill);

    
SetPlayerSkillLevelEx(useridWeaponSkillLevelskill);
    return 
1;


[Ajuda] Include Streamer

Ola bom esses dias me deparei com um problema que ainda nao consegui resolve, bom os efeitos do problema sao que alguns comandos que coloco nao funciona ja tentei trocar a include mas ainda sim nao resolve meu problema

PHP Code:

  Loaded 5 filterscripts.

*** 
Streamer PluginObsolete or invalid native "Streamer_RegisterInterface" found (script might need to be recompiled with the correct include file).
*** 
Streamer PluginObsolete or invalid native "Streamer_AddPlayer" found (script might need to be recompiled with the correct include file).
*** 
Streamer PluginObsolete or invalid native "Streamer_RemovePlayer" found (script might need to be recompiled with the correct include file).
*** 
Streamer PluginObsolete or invalid native "Streamer_VerifyPickup" found (script might need to be recompiled with the correct include file).
*** 
Streamer PluginObsolete or invalid native "Streamer_VerifyCheckpoint" found (script might need to be recompiled with the correct include file).
*** 
Streamer Plugin: Include file version (unknown versiondoes not match plugin version (0x294) (script might need to be recompiled with the correct include file).
 
 
 
 ======================================= 
 |                                     | 
 |        
YSI version 4.00.0001        
 |        
By Alex "******" Cole        
 |                                     | 
 ======================================= 
 
*** 
Streamer PluginCreateDynamicObjectExpecting 14 parameter(s), but found 11.
Script
[gamemodes/Ghost.amx]: Run time error 20"Invalid index parameter (bad entry point)"
Number of vehicle models14 

Se alguem poder ajudar ficarei grato

help loose identification

hello help me fix this code I get loose identification as I can fix

Code:

public OnPlayerUpdate(playerid)
{
    if(!IsPlayerConnected(playerid)) return 0;
        new weap, ammo, weap2, ammo2;//----------------here loose
                if(IsPlayerConnected(playerid) && PlayerInfo[playerid][mr] == 0 && hodo[playerid] == 0){
                if(mega[playerid]==0){
                        GetPlayerWeaponData(playerid, 7, weap, ammo);
                        GetPlayerWeaponData(playerid, 11, weap2, ammo2);
            if(weap == 35 || weap == 36 || weap == 38 || weap2 == 44) {
                                ResetPlayerWeapons(playerid);
                                SetPlayerVirtualWorld(playerid, 13);
                        }
        }
    }
        return 1;// --------here loose id
}

NG:RP

Hello guys, 2 years ago I was addicted player to Ngrp.
Unfortunately I quit SAMP, and now I want to get back and I didnt find any thing about NGRP can someone tell me what happened? That would be very sad if NGRP closed

SAMP for Mac

Hello!
GTA SA is in steam since 2010. Do you plan to make Mac version of SAMP?
It’s unsafely to install Wine or something else for Win apps. I think most players would be thankful for this.
Thanks
Viewing all 18226 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>