Script Request Thread #6

I need /vstorage system(dialog) scripts
And also /toggc (toggle global chat) and /g text to talk
Can someone help me?
Reply

I need something that kicks/bans a player that says a IP in the chat.
Reply

Quote:
Originally Posted by NathNathii
View Post
I need something that kicks/bans a player that says a IP in the chat.
pawn Code:
stock DetectAdv(string[])
{
    new Count;
    if (!strfind(string, "www.", false) || !strfind(string, "http://", false) || !strfind(string, ".com", false) || !strfind(string, ".net", false)
    || !strfind(string, ".de", false) || !strfind(string, ".org", false) || !strfind(string, ".smfnew", false) || !strfind(string, ".tk", false))
    return true;
    for(new i; string[i] != 0; ++i)
    {
        if(('0' <= string[i] <= '9') || string[i] == '.' || string[i] == ':')
        {
            if((string[i] == '.') && (string[i + 1] != '.') && ('0' <= string[i - 1] <= '9'))
            {
                ++Count;
            }
            continue;
        }
    }
    return (Count > 2);
}

public OnPlayerText(playerid, text[])
{
 if(DetectAdv(text)) return Kick(playerid), 0;
 return 1;
}
Reply

hello. i need script for spawning vehicles like /veh or /v or any other.And one more is vehicle boost by pressing fire button(num 0 and lctrl) and jumping the vehicle by (H) button.
Reply

Quote:
Originally Posted by mohammedsohailahmed
View Post
hello. i need script for spawning vehicles like /veh or /v or any other
here


Quote:
Originally Posted by mohammedsohailahmed
View Post
And one more is vehicle boost by pressing fire button(num 0 and lctrl)
here

Quote:
Originally Posted by mohammedsohailahmed
View Post
and jumping the vehicle by (H) button.
here



REMEMBER! ****** IS YOUR FRIEND!
Reply

well, could anybody to make function AttachPlayerToObject, I just need it, I tried to disable control of player but anyway is look ugly
Reply

Quote:
Originally Posted by kokoshkata
View Post
Hello, I would like to request a simple FS, since I'm a beginner in the scripting of such a things I would like someone to make it for me.I'm talking about a simple /spawn command.Which can be used to save the player's IG position, and whenever he dies or logs in the server to spawn back onto his spawn position.

Thanks in advance!
BUMP, I really need this and I would be very thankful to the person.
Reply

Hi guys


Please how can help me

here https://sampforum.blast.hk/showthread.php?tid=440943


Please
Reply

Quote:
Originally Posted by morocco
View Post
Hi guys


Please how can help me

here https://sampforum.blast.hk/showthread.php?tid=440943


Please
If you can read. This is a script request thread. Just wait in Scripting help section till someone helps you and be patient. Thank you.
Reply

Anybody know script about freezing while entering some interiors?, it's mean i want to know script for freezing while entering any interiors because if not i always got bug and fall down from the interiors
Reply

pawn Code:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    if(newinteriorid != 0)
    {
        TogglePlayerControllable(playerid, false);
        SetTimerEx("HoldInteriorChange", 3000, false, "d", playerid);
        GameTextForPlayer(playerid, "~w~Loading interior... please wait!", 3000, 3);
    }
    return 1;
}

forward HoldInteriorChange(playerid);
public HoldInteriorChange(playerid)
{
    TogglePlayerControllable(playerid, true);
    return 1;
}
Search next time.
Reply

Can Someone make a /ciabadge script to hide badge and show badge colour on LEO, I was search to any link and i don't find any /ciabadge for Raven's GM, I use Raven's GM, can someone make it? Pleasee..
Reply

Could someone make the system so the circle that only admins can use these CMD? Also, if anyone could make it so that /arena can only be done in a certain place?
299,2782.0149, -1812.7072,11.8438,38.5438,0,0,0,0,0,0

Code:
#include <a_samp>
#include <streamer>
#include <ZCMD>

new Reja1;
new Reja2;

public OnGameModeInit()
{
Create3DTextLabel("use /gate1",0xFFFF00FF,482.4337,1764.8003,2317.5798,5,0);
Create3DTextLabel("use /gate2",0xFFFF00FF,489.0119,1725.7668,2317.5898,5,0);
CreateDynamicObject(19378, 480.28, 1750.11, 2319.59,   0.00, 90.00, 0.00);
CreateDynamicObject(14791, 486.17, 1746.17, 2321.65,   0.00, 0.00, 0.00);
CreateDynamicObject(19378, 490.77, 1750.11, 2319.59,   0.00, 90.00, 0.00);
CreateDynamicObject(19378, 490.77, 1740.56, 2319.59,   0.00, 90.00, 0.00);
CreateDynamicObject(19378, 480.29, 1740.56, 2319.59,   0.00, 90.00, 0.00);
CreateDynamicObject(3452, 481.22, 1726.82, 2322.31,   0.00, 0.00, 0.00);
CreateDynamicObject(3452, 489.91, 1763.81, 2322.30,   0.00, 0.00, 180.00);
CreateDynamicObject(19380, 474.98, 1740.71, 2324.88,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 474.98, 1731.09, 2324.42,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 474.97, 1721.49, 2325.22,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 474.98, 1750.33, 2324.40,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 474.98, 1759.95, 2324.38,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 474.98, 1769.56, 2327.20,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 496.07, 1740.68, 2324.88,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 496.07, 1731.05, 2324.40,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 496.07, 1721.42, 2324.54,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 496.08, 1750.23, 2324.88,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 496.07, 1759.74, 2324.40,   0.00, 0.00, 0.00);
CreateDynamicObject(19380, 496.07, 1769.34, 2325.20,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 496.08, 1720.86, 2317.72,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 496.09, 1724.05, 2317.72,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 496.09, 1727.24, 2317.72,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 466.33, 1724.65, 2318.31,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 466.33, 1721.46, 2318.31,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 466.34, 1718.27, 2318.31,   0.00, 0.00, 0.00);
CreateDynamicObject(19381, 480.27, 1722.57, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 490.76, 1722.57, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 490.74, 1732.20, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 480.25, 1732.20, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 480.31, 1741.80, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 490.80, 1741.83, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 490.70, 1751.42, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 480.21, 1751.43, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 480.29, 1761.03, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 490.79, 1761.03, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 490.76, 1770.63, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19381, 480.27, 1770.65, 2328.09,   0.00, 90.00, 0.00);
CreateDynamicObject(19355, 475.02, 1769.71, 2318.23,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 475.02, 1766.51, 2318.23,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 475.03, 1763.32, 2318.23,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 504.79, 1765.93, 2318.21,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 504.79, 1769.13, 2318.21,   0.00, 0.00, 0.00);
CreateDynamicObject(19355, 504.79, 1772.32, 2318.21,   0.00, 0.00, 0.00);
CreateDynamicObject(984, 476.79, 1742.25, 2320.30,   0.00, 0.00, 359.82);
CreateDynamicObject(984, 483.17, 1735.85, 2320.30,   0.00, 0.00, 90.04);
CreateDynamicObject(983, 496.32, 1735.85, 2320.36,   0.00, 0.00, 90.00);
CreateDynamicObject(983, 476.83, 1751.62, 2320.36,   0.00, 0.00, 0.00);
CreateDynamicObject(984, 488.11, 1754.79, 2320.30,   0.00, 0.00, 90.04);
CreateDynamicObject(983, 497.72, 1754.80, 2320.34,   0.00, 0.00, 90.00);
CreateDynamicObject(1499, 475.06, 1744.78, 2319.67,   0.00, 0.00, 90.18);
CreateDynamicObject(2115, 491.89, 1747.18, 2319.66,   0.00, 0.00, 90.59);
CreateDynamicObject(2115, 491.82, 1743.94, 2319.68,   0.00, 0.00, 90.59);
CreateDynamicObject(2636, 493.41, 1743.92, 2320.30,   0.00, 0.00, 0.00);
CreateDynamicObject(2636, 493.41, 1744.85, 2320.32,   0.00, 0.00, 0.00);
CreateDynamicObject(2636, 493.35, 1748.19, 2320.29,   0.00, 0.00, 0.00);
CreateDynamicObject(2636, 493.50, 1747.04, 2320.31,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 483.34, 1741.51, 2319.66,   0.00, 0.00, 178.89);
CreateDynamicObject(1810, 483.85, 1750.28, 2319.65,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 485.34, 1750.29, 2319.65,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 486.75, 1750.28, 2319.65,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 488.39, 1750.26, 2319.65,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 488.39, 1751.24, 2319.65,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 486.75, 1751.26, 2319.65,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 485.34, 1751.29, 2319.65,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 483.85, 1751.28, 2319.65,   0.00, 0.00, 0.00);
CreateDynamicObject(1810, 484.68, 1741.50, 2319.67,   0.00, 0.00, 178.89);
CreateDynamicObject(1810, 486.11, 1741.50, 2319.66,   0.00, 0.00, 178.89);
CreateDynamicObject(1810, 487.58, 1741.50, 2319.67,   0.00, 0.00, 178.89);
CreateDynamicObject(1810, 483.34, 1740.53, 2319.66,   0.00, 0.00, 178.89);
CreateDynamicObject(1810, 484.68, 1740.54, 2319.67,   0.00, 0.00, 178.89);
CreateDynamicObject(1810, 486.11, 1740.54, 2319.66,   0.00, 0.00, 178.89);
CreateDynamicObject(1810, 487.58, 1740.52, 2319.67,   0.00, 0.00, 178.89);
CreateDynamicObject(2115, 480.89, 1744.28, 2319.68,   0.00, 0.00, 90.59);
CreateDynamicObject(2115, 480.83, 1746.98, 2319.68,   0.00, 0.00, 90.59);
CreateDynamicObject(2636, 479.19, 1748.09, 2320.31,   0.00, 0.00, 179.72);
CreateDynamicObject(2636, 479.17, 1746.92, 2320.31,   0.00, 0.00, 179.72);
CreateDynamicObject(2636, 479.14, 1745.39, 2320.31,   0.00, 0.00, 179.72);
CreateDynamicObject(2636, 479.23, 1744.28, 2320.31,   0.00, 0.00, 179.72);
CreateDynamicObject(1985, 492.99, 1767.09, 2319.94,   0.00, 0.00, 0.00);
CreateDynamicObject(1985, 474.29, 1723.05, 2319.94,   0.00, 0.00, 0.00);
CreateDynamicObject(19148, 475.14, 1745.56, 2326.06,   -11.00, 0.00, 277.00);
CreateDynamicObject(19148, 475.16, 1748.57, 2326.06,   -11.00, 0.00, 277.00);

Reja1 = CreateObject(971, 477.8161, 1764.2668, 2316.3870,   0.00, 0.00, 0.00);
Reja2 = CreateObject(971, 493.3242, 1726.3136, 2316.3870,   0.00, 0.00, 0.00);
return 1;
}

forward Cerrar();
public Cerrar()
{
MoveObject(Reja1, 477.8161, 1764.2668, 2316.3870,3.0);
return 1;
}

forward Cerrar1();
public Cerrar1()
{
MoveObject(Reja2, 493.3242, 1726.3136, 2316.3870,3.0);
return 1;
}

CMD:gate1(playerid, params[])
{
if (IsPlayerInRangeOfPoint(playerid, 2.0,482.4337,1764.8003,2317.5798))
{
MoveObject(Reja1, 473.2233, 1764.2580, 2316.3870,3.0);
SetTimer("Cerrar",5000,0);
}
return 1;
}

CMD:gate2(playerid, params[])
{
if (IsPlayerInRangeOfPoint(playerid, 2.0,489.0119,1725.7668,2317.5898))
{
MoveObject(Reja2, 497.9149, 1726.3287, 2316.3870,3.0);
SetTimer("Cerrar1",5000,0);
}
return 1;
}

//comando para ir al salon
CMD:arena(playerid, params[])
{
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid, 476.1840,1745.5935,2320.6760);
return 1;
}
Reply

I need a YSI based vehicle ownership, Its like this: I can go to wangs and go to the pickup and type /buyvehicle so i get a dialog with vehicles i have added with price, So if player buy vehicle then it be spawned on the Wangs Parking.
Functions:
-Save last position and tunings.
-Save colors
-Vehicle be saved there it was when player disconnect and respawn when player connect.

What i mean:
I want a YSI based vehicle ownership, So i can go to wangs and enter the pickup and type /buyvehicle then i get a dialog with list of vehicles i have added self with price, When player buy a vehicle then it be spawned on the parking near Wangs. And if player enter vehicle and drive it to the fire station and disconnect then it stands on the fire station when he connects again. And if player edit color and tune vehicle then tuning and colors be saved.
I have searched but i dont found any.
Reply

Hello guys,
I need a vehicle spawner (Filescript) ONLY for 2+ Administrator Rank. (command to open the spawn menu: /vspawn). I need it a lot...

I want just 4 vehicles WITH SIRENS.

(VEHICLES COLORS: PINK)

1)Comet (like this: [ame]http://www.youtube.com/watch?v=Lw3W1MRnF5I[/ame]).
2)Quad (The siren will be back!).
3)Tug (like this: [ame]http://www.youtube.com/watch?v=jLEhI7V69co[/ame]).
4)NRG-500 (The siren will be back like Quad).

Look at 0:40 (This is the menu)---> [ame]http://www.youtube.com/watch?v=YIw2RF130KI[/ame]


Thank you very much

ADD ME ON SKYPE (gregor.kouk)
Reply

Hey Guys,I'm Running a Gang,I need Scripts for it to add my maps to it...

I've created a Small Island for my Gang,But I don't know How to add it,and in the server i'm playing i need cmds like

/SALganginfo,/SALgangapply,/SALgangAccept,/SALgangAdmins,/SALgangRemove...Something More Like this,Anyone
help me in this please,
Reply

Quote:
Originally Posted by SA_Legends
View Post
Hey Guys,I'm Running a Gang,I need Scripts for it to add my maps to it...

I've created a Small Island for my Gang,But I don't know How to add it,and in the server i'm playing i need cmds like

/SALganginfo,/SALgangapply,/SALgangAccept,/SALgangAdmins,/SALgangRemove...Something More Like this,Anyone
help me in this please,
Somebody Help me quick...
Reply

I need any filterscript .. to give score for making anything .. Like Kill someone = 1 score .. i need like that or different from it but it gives more scores like 10 score / one Job or Kill or anything
Reply

Quote:
Originally Posted by Abanob
View Post
I need any filterscript .. to give score for making anything .. Like Kill someone = 1 score .. i need like that or different from it but it gives more scores like 10 score / one Job or Kill or anything
Just place the following code under the OnPlayerDeath callback.

pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerScore(killerid, GetPlayerScore(killerid)+10); //Sets the killer's score.
    GivePlayerMoney(killerid, GetPlayerMoney(killerid)+1); //If you want to set his money as well.
    return 1;
}
Reply

How i can do this?
You are a new player and you enter the password and then appears these questions.

Lenguage?

If you choose a lenguage, all the question will be in the selected lenguage(Except the game)

Gender?

When you choose this, the gender of the player will be the selected

What you are?

When you choose this, you will choose a Skin that will be the skin you will use in all the game.

These are the skins that you will choose.

Man

Latino


Gringo


Afrodescendiente


Asiбtico


Europeo o Ruso



Woman

Latina


Gringa


Afrodescendiente


Asiбtica


Europea o Rusa


And when you finish all these stuffs you can start playing the game with the skins and gender you choose.

How can i do this? please help

Ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)