Script Request Thread #5
#21

i mean can i prison someone that is not online like /offlineprison [Name] [TIME] [REASON]


and then when he comes online he will get in prison
Reply
#22

Quote:
Originally Posted by Thomas_A
View Post
i mean can i prison someone that is not online like /offlineprison [Name] [TIME] [REASON]


and then when he comes online he will get in prison
try dini
Reply
#23

Quote:
Originally Posted by dark_clown
View Post
try dini
dude i was requestin if someone could make it,
Reply
#24

can someone help me?
i will have a script on my server .
but when i have one in script in pawno.
i will compiler the file but then my pc sais: unable to compiler.
Reply
#25

I have a request!

After testing few gamemods I found most of them are for lots of people, but I'm aiming to run a lan server for few people, at most 6, with events like DM, Races, a lot of Weapon and Vehicle Spawing... I guess there's some gamemod like this already... well, I need your help.
Thanks in advance!
Reply
#26

Quote:
Originally Posted by Marcio
View Post
I have a request!

After testing few gamemods I found most of them are for lots of people, but I'm aiming to run a lan server for few people, at most 6, with events like DM, Races, a lot of Weapon and Vehicle Spawing... I guess there's some gamemod like this already... well, I need your help.
Thanks in advance!
This is the script request thread, not the script location thread. Use the search function, or go and visit the "Gamemodes" board on this forum!
Reply
#27

Sorry.

Well, I request a script that will unzip and start a server with DM, Races, a lot of Weapon and Vehicle Spawing.
Reply
#28

Dude, use the search ^
Reply
#29

Quote:
Originally Posted by Thomas_A
View Post
can someone make me a offline prison system,??
Quote:
Originally Posted by Thomas_A
View Post
i mean can i prison someone that is not online like /offlineprison [Name] [TIME] [REASON]


and then when he comes online he will get in prison
________________
BUMP...
Reply
#30

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
LarzI that just crashed my pawno.
=)))))))))))))))))))))))))))))
Reply
#31

Quote:
Originally Posted by Hayden_Bruin
Посмотреть сообщение
Not possible i think, you could use CreateExplosion and do the same effect tho, just without the smoke.
not sure if this health thing will work but couldn't be bothered making a timer.

Код:
if(strcmp(cmd, "/explodeme", true) == 0)
{
    SetPlayerHealth(playerid, 9999);
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    CreateExplosion(x, y, z+1, 0, 10.0);
    CreateExplosion(x, y, z+2, 0, 10.0);
    CreateExplosion(x, y, z+3, 0, 10.0);
    CreateExplosion(x, y, z+5, 0, 10.0);
    CreateExplosion(x, y, z+7, 0, 10.0);
    CreateExplosion(x, y, z+8, 0, 10.0);
    CreateExplosion(x, y, z+9, 0, 10.0);
    CreateExplosion(x, y, z+10, 0, 10.0);
    CreateExplosion(x, y, z+11, 0, 10.0);
    CreateExplosion(x, y, z+12, 0, 10.0);
    CreateExplosion(x, y, z+13, 0, 10.0);
    CreateExplosion(x, y, z+15, 0, 10.0);
    CreateExplosion(x, y, z+17, 0, 10.0);
    CreateExplosion(x, y, z+18, 0, 10.0);
    CreateExplosion(x, y, z+19, 0, 10.0);
    CreateExplosion(x, y, z+20, 0, 10.0);
    SetPlayerHealth(playerid, 100);
    return 1;
}
ZCMD
Код:
COMMAND:explodeme(playerid, params[])
{
    SetPlayerHealth(playerid, 9999);
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    CreateExplosion(x, y, z+1, 0, 10.0);
    CreateExplosion(x, y, z+2, 0, 10.0);
    CreateExplosion(x, y, z+3, 0, 10.0);
    CreateExplosion(x, y, z+5, 0, 10.0);
    CreateExplosion(x, y, z+7, 0, 10.0);
    CreateExplosion(x, y, z+8, 0, 10.0);
    CreateExplosion(x, y, z+9, 0, 10.0);
    CreateExplosion(x, y, z+10, 0, 10.0);
    CreateExplosion(x, y, z+11, 0, 10.0);
    CreateExplosion(x, y, z+12, 0, 10.0);
    CreateExplosion(x, y, z+13, 0, 10.0);
    CreateExplosion(x, y, z+15, 0, 10.0);
    CreateExplosion(x, y, z+17, 0, 10.0);
    CreateExplosion(x, y, z+18, 0, 10.0);
    CreateExplosion(x, y, z+19, 0, 10.0);
    CreateExplosion(x, y, z+20, 0, 10.0);
    SetPlayerHealth(playerid, 100);
    return 1;
}
That's gonna put his health during the explosions.
Reply
#32

Hello i am looking for a filterscript of Car Ownership. I recently downloaded the Sw-Rp script which is nice but just lacks a vehicle ownership system. I kicked ma ass but couldn't script or find any good one. I basically want a simple car system which will be something like this:-

-There will be cars for sale at dealership and people can /v buy to buy a car.
-And they can /v sell at dealership and will get 70 percent cash back or they can /v sellto [playerid] [ammount].
- They can /v park to park it at a place where it is.
- And /v list to see your car info.
- /v lock(1-3) to lock cars.
- Player cannot own more than 3 cars.

This thing is found in many GF gamemodes and is very well known. If anyone can just take the lines from any gamemode and make it as a filterscript and give me the .pwn and .amx with .cfg to add cars to me i'll be glad.
I am learning pwno and aint so good but if you can do me this favor i might give you a cash reward if my friend agrees or i am ready to do anything for you.
I can make websites / forums bla bla and anything you want from me,

Thanks in advance.
Reply
#33

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
One day.. it might be possible
i hope it will would be so cool to make roller coaster kinda thing

can u guys tell me what i must do to make this work ?
(after 2 mins comes +1 point to score)

Код:
#include <a_samp>

forward score();

public OnGameModeInit()
{
    SetTimer("score",120000,true);
}

public score()
{
	SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
}
Reply
#34

Quote:
Originally Posted by grovest26
Посмотреть сообщение
i hope it will would be so cool to make roller coaster kinda thing

can u guys tell me what i must do to make this work ?
(after 2 mins comes +1 point to score)

Код:
#include <a_samp>

forward score();

public OnGameModeInit()
{
    SetTimer("score",120000,true);
}

public score()
{
	SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
}
Try this

pawn Код:
#include <a_samp>

forward score();

public OnGameModeInit()
{
    SetTimer("score",120000,true);
}

public score()
{
for(new i = 0; i < MAX_PLAYERS; i++);
{
    SetPlayerScore(i, GetPlayerScore(i) + 1);
}
}
Sorry for identation.
Reply
#35

playerid needs to be defined o_o
but i got it now working with:

Код:
#include <a_samp>

new ScoreTime[MAX_PLAYERS];

forward Score(playerid);

public OnPlayerConnect(playerid)
{
    ScoreTime[playerid] = SetTimerEx("Score", 120000, true, "i", playerid);
    return 1;
}

public OnPlayerDisconnect(playerid)
{
    KillTimer(ScoreTime[playerid]);
    return 1;
}

public Score(playerid)
{
    SetPlayerScore(playerid, GetPlayerScore(playerid)+1);
    return 1;
}
Reply
#36

I request someone make a horn which beeps when going backwards
Reply
#37

Hey everyone

Wondering if anyone could help me with something. I would like it that when you pick up a pickup the person obtains a skin.

CreatePickup(1275, 2, 2244.4268, -1162.7134, 1029.7969, -1);

This is all i got so far, thanks for the help in advance
Reply
#38

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 5, pick xyz))
    {
       //set skin stuff
        return 1;
    }
You could try that for pickup
Reply
#39

Quote:
Originally Posted by cloudysky
Посмотреть сообщение
Hey everyone

Wondering if anyone could help me with something. I would like it that when you pick up a pickup the person obtains a skin.

CreatePickup(1275, 2, 2244.4268, -1162.7134, 1029.7969, -1);

This is all i got so far, thanks for the help in advance
pawn Код:
CreatePickup(1275, 2, 2244.4268, -1162.7134, 1029.7969, -1); // Get the ID of this pickup
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == 0) SetPlayerSkin(playerid, 99); // The `0` should be changed to the pickupid, and the 99 to the wanted skin.
}
... or this: (if you want several pickups with different skins)
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    switch(pickupid)
    {
        case 0: SetPlayerSkin(playerid, 99); // The `0` should be changed to the pickupid, and the 99 to the wanted skin.
    }
}
Reply
#40

Thanks i was also wondering if someone could help me with a trucking job where people go to an area, do something like /startjob in a truck and then a route appears. Then once they have picked up there load deliver it to another place and once they have delivered it there get paid.

Any help would be appreciated!
Reply


Forum Jump:


Users browsing this thread: 19 Guest(s)