Script Request Thread #2
#81

you can also create the /nos command yourself
Reply
#82

Quote:
Originally Posted by Drift_King786
Quote:
Originally Posted by Backwardsman97
pawn Код:
dcmd_commands(playerid,params)
{
    if(!strcmp(params, "police", true))
    {
        SendClientMessage(playerid, 0xFAFAFAFF, "Police");
        return 1;
    }
    if(!strcmp(params, "admin", true))
    {
        SendClientMessage(playerid, 0xFAFAFAFF, "Admin");
        return 1;
    }
    if(!strcmp(params, "prostitute", true))
    {
        SendClientMessage(playerid, 0xFAFAFAFF, "Prostitute");
        return 1;
    }
    SendClientMessage(playerid, 0xFAFAFAFF, "/commands [police|admin|prostitute]");
    return 1;
}
i have defined dcmd
but it says to define dcmd_commands and params
Did you put 'dcmd(commands,8,cmdtext);' under OnPlayerCommandText?
Reply
#83

hello, i need an admin camera... to spectate other players. I just want something like /spectate id and then i can see what he sees. I tried the search option and ****** but i couldn't find anything usefull. I play the godfather mod, I downloaded it from this site. can someone give me a script and tell me where to put it and how to use it etc etc? Thanks!
Reply
#84

Maybe someone have IsValidName(playerid) function ? I really need it
Reply
#85

I am still hiring a quality scripter and paying 50-85 usd via paypal. I need the scripter to be able to do the following...

-Points
-/n (newbie chat)
-edit the script's test (will discuss)
-a dynamic gang system (/createfamily 1-14)
-script gang HQ's
-script custom admin houses for sale.
-script new houses for sale (7-10 other houses)
-script car spawns
-script a /specplayer and /unspecplayer command
-fix various bugs (will discuss)
-scitpt job pickups (where you /takejob)
-script job waypoints (/getmats ect)
-script a weapon save system
-script a save positions
-a custom vehicle list for when you /buyhouse (will discuss)
-/destorycars
-colored names for factions
-gang gates

there is a little more but I am willing to go to 100usd for all of this to be scripted. Please post a reply here and then I'll give you my contact information. Thanks and please help!
Reply
#86

please give me ''/hitman [playerid] [$]'' command
Sorry my bad English
Reply
#87

Quote:
Originally Posted by Dreftas
Maybe someone have IsValidName(playerid) function ? I really need it
What does it do?
Reply
#88

Hi another one :P I just don't know where to look for answer .

So I need something like IsPlayerInArea, now what it's about.. So if player has etc.
Test[playerid]=1;
And he is in area x,y,z +50 distance.. But if player try's to get out of these +50distance, server will return him on the previous point..
Reply
#89

Quote:
Originally Posted by <<--LOL-->>
Hi another one :P I just don't know where to look for answer .

So I need something like IsPlayerInArea, now what it's about.. So if player has etc.
Test[playerid]=1;
And he is in area x,y,z +50 distance.. But if player try's to get out of these +50distance, server will return him on the previous point..
pawn Код:
SetPlayerWorldBounds(playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min)
Is that what you where wanting ? It's a inbuilt pawno function. Or would you like something that checks if the player is not in the area and uses SetPlayerPos?
Reply
#90

Quote:
Originally Posted by [HiC
TheKiller ]
Quote:
Originally Posted by <<--LOL-->>
Hi another one :P I just don't know where to look for answer .

So I need something like IsPlayerInArea, now what it's about.. So if player has etc.
Test[playerid]=1;
And he is in area x,y,z +50 distance.. But if player try's to get out of these +50distance, server will return him on the previous point..
pawn Код:
SetPlayerWorldBounds(playerid,Float:x_max,Float:x_min,Float:y_max,Float:y_min)
Is that what you where wanting ? It's a inbuilt pawno function. Or would you like something that checks if the player is not in the area and uses SetPlayerPos?
Thanks
Reply
#91

Quote:
Originally Posted by Backwardsman97
Quote:
Originally Posted by Drift_King786
Quote:
Originally Posted by Backwardsman97
pawn Код:
dcmd_commands(playerid,params)
{
    if(!strcmp(params, "police", true))
    {
        SendClientMessage(playerid, 0xFAFAFAFF, "Police");
        return 1;
    }
    if(!strcmp(params, "admin", true))
    {
        SendClientMessage(playerid, 0xFAFAFAFF, "Admin");
        return 1;
    }
    if(!strcmp(params, "prostitute", true))
    {
        SendClientMessage(playerid, 0xFAFAFAFF, "Prostitute");
        return 1;
    }
    SendClientMessage(playerid, 0xFAFAFAFF, "/commands [police|admin|prostitute]");
    return 1;
}
i have defined dcmd
but it says to define dcmd_commands and params
Did you put 'dcmd(commands,8,cmdtext);' under OnPlayerCommandText?
yes
Reply
#92

Hello! Please, can somone help me with a food-system.
Its too hard for me.. Currently.

Anyways. I am using GF, and I like to have an Food System on it.
Like.. Player have to eat sometimes, otherwise they die.
Where you can eat, that I can do myself ofc .
Anyweys. Its similiar to fuel system. Nofuel = cant drive with car, Nofood = You start to lose your HP.
I like to system like this :
1. FoodLevel will save, when you rejoin and etc.
2. There will be small textdraw somewhere, whats shows your foodlevel in %. (Max 100 %)
3. If you have 0 % of food, then you start losing hp.

Sorry for my bad English. I hope you understand me. Well, I hope that somone can do it for me.
NB: Im using GF.
Reply
#93

I was hoping someone could give me a filterscript for an Ammunation. Im using GF and disabled all interior/exterior markers, so now I have an icon to teleport into ammunation and need a menu that sells the following weapons ONLY inside ammunation.

Deagle (25 Ammo)- $500
Uzi (125 Ammo)
SMG (300 Ammo)
Ak47 (400 Ammo)
Rifle (20 Ammo)

Anyone who helps will be sure to get credit in my script

- Luke
Reply
#94

Like this? http://pastebin.com/m194457ab
Reply
#95

can some one give a link to the best A/D mode
Reply
#96

Still no help, I could use an admin spec. Just like /spec id
You can see what he sees. In a form that I can add to my current script (underworld). So I can decide what admin levels will be able to use it
Reply
#97

I'm done with my levels! But now I need some commands, like /antifall (you won't fall from bike) , /getcar (you can spawn car), /savepos (you can save your position), /gotopos (you can load your saved position - teleport to that place) . I need these commands very simple. I've searched, and found some, but that commands didn't worked in my Game Mode! I would be very happy if someone can give me these commands!
Reply
#98

/getinpveh - enter in a player's vehicle like /getinpveh 5 and u get in id 5's veh,
and /getpinveh - get a player in ur vehicle.

can someone get me these for like, level 3 or 4 admin, btw im using SeifAdmin.
Reply
#99

Hello everyone,
I'm new to scripting so I don't understand very much
My Problem is: I need some scripts.
Here they are:
1. I could need a bomb script for terrorist. You can buy a bomb when you are a Terrorist by typing /buy bomb [1-3]
You should buy a small bomb,middle and very big bomb. By using /plant [1-3] you can put one on the ground and use it by /explode
2. Now I need some help with making a Team. (Team ID: 14)
I need a Team called Terrorists with 4 Subclasses:
1. Soldier (Skin: 9 (Weapons: Ak47,MP5,Glock)
2. Sniper (Skin: 127) (Weapons: Silenced Glock,Sniper Rifle,Knife)
3. RPG (Skin: 223) (Weapons: RPG,Uzi,Desert Eagle)
4. Medic (Skin: 179) (Weapons: MP5,Desert Eagle,Knife) (Can use /heal on other persons)

And with the ranks:
1.Canonfodder 2.Soldier 3.Commander 4.Professional 5.2nd Master 6.Master

If someone can do it and tell me where I need to put it in my script it would be reeeeeeeeeeeally nice

Thank you,
Sniperwolfes
Reply

I'm just looking for a list of saved co-ordinates that are different cars/colors all throughout Los Santos.

Any help? Yes I've searched.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)