free

News

collapse

User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by FrankCivello
[July 17, 2025, 12:50:43 am]


NOTICE OF PARKING ENFORCEMENT CHANGES by Huntsman
[June 19, 2025, 05:22:50 pm]


Re: Stopping by by Sinister
[June 08, 2025, 01:58:04 pm]


Re: Stopping by by Ehks
[June 04, 2025, 12:25:17 am]


Re: Rest in peace by Stefanrsb
[June 02, 2025, 03:38:02 am]


Re: [SA:MP]House of Sforza | The Elite Power | Estd. 2006 | LS - LV by Stefanrsb
[June 02, 2025, 03:09:22 am]


Re: The Soprano Family | Royal Loyalty by Stefanrsb
[June 02, 2025, 03:00:31 am]


Re: The Gvardia Family || San Fierro's Main Power || Best criminal group of 09/10/11 by Stefanrsb
[June 02, 2025, 02:47:01 am]


Re: BALLAS | In memory of INFERNO 9 and NBA by Stefanrsb
[June 02, 2025, 02:31:29 am]


Re: Count to 1,000,000. by Stefanrsb
[June 02, 2025, 02:15:04 am]


Re: Stopping by by Traser
[June 01, 2025, 10:23:13 pm]


Re: Stopping by by Old Catzu
[May 18, 2025, 07:27:06 pm]

* Who's Online

  • Dot Guests: 352
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Birthday Calender

July 2025
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 [25] 26
27 28 29 30 31

I need help with a /duty script

Guest · 1421

0 Members and 1 Guest are viewing this topic.

Mike.

  • Guest
on: February 12, 2010, 05:19:55 pm
Ive made my own SAMP RP server
Ive got character selection working ive spawned cars but now...
I just need to set up some job scripts and the first one i want is /duty for police.
Can tell me how to get it or where a guide is?

Thanks.



Offline FastSh00T

  • Regular
  • **
    • Posts: 1547
  • TeaM-Jack
  • With us since: 08/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #1 on: February 12, 2010, 06:19:02 pm
In Fact i don't know but ask scripter or Use Google.com


CMB Supervisor (SA:MP) || Team MTA member
F.B.I. Special Agent Quicker (IV:MP) || F.B.I. B. Supervisory Special Agent TeaM_Jack (SA:MP)


Offline Bilbo

  • Orc
  • *****
    • Posts: 3713
    With us since: 26/07/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #2 on: February 12, 2010, 06:21:59 pm
All Argonath scripts are made from scratch by the developers and scripters, without using any guides or ready-made scripts.
For looking ready-made scripts, use Google as Argonath's scripts are not available for the public.


July 2008 | March 2009 | June 2012


Mike.

  • Guest
Reply #3 on: February 12, 2010, 06:24:29 pm
All Argonath scripts are made from scratch by the developers and scripters, without using any guides or ready-made scripts.
For looking ready-made scripts, use Google as Argonath's scripts are not available for the public.
I guessed that :D Argonath scripts are to good to be published to people,
Ive just finished setting up the Xadmin scripts so yeh ill go search on good :S not that any shows how exactley to make a job like /duty on Argonath.
Thanks for the replys peeps



Offline Ted

  • SA:MP Valar
  • ***
    • Posts: 4871
    With us since: 13/05/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #4 on: February 12, 2010, 06:51:00 pm
The best place to ask for scripting help and info would be at the samp forums.



Offline Fruity

  • Radio Head DJ
  • Hero
  • ****
    • Posts: 1157
    With us since: 11/03/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: Jonny_Bravo
Reply #5 on: February 12, 2010, 07:49:40 pm
SA:MP forums offer alot of help also www.wiki.sa-mp.com helped me learn the basics of scripting, not much advancded help there though.

Fruity/Jonny_Bravo/Josh


Offline too803

  • Just another
  • User
  • *
    • Posts: 95
  • SASD!
  • With us since: 11/10/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #6 on: February 12, 2010, 07:51:30 pm
I made my own fire,cop,and a few other scripts I could teach you,you have to have all the includes though,which is painstaking :)

VCMP Guntel Leader.
SAMP Player
Stryker Force Member
SASD Deputy
PAWNO Scripter


Offline FastSh00T

  • Regular
  • **
    • Posts: 1547
  • TeaM-Jack
  • With us since: 08/03/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #7 on: February 12, 2010, 08:24:30 pm
That's Awesome too803 but how you will get many players you need internet high speed


CMB Supervisor (SA:MP) || Team MTA member
F.B.I. Special Agent Quicker (IV:MP) || F.B.I. B. Supervisory Special Agent TeaM_Jack (SA:MP)


Mike.

  • Guest
Reply #8 on: February 12, 2010, 09:03:23 pm
Ok can someone help me with port forwarding?
I did everything a guide said and used a port forwardign website but my server still didnt show.
In the end i ended up messing my internet up and my server was the only one that would connect :( Any help please?



Offline TheRock

  • FBI Agent
  • Hero
  • ****
    • Posts: 4801
  • Federal Bureau of Investigations
  • With us since: 01/02/2009
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: TheRock_Kolta
Reply #9 on: February 12, 2010, 10:45:13 pm

TheRock Kolta,
FBI Special Agent,
Los Santos Government


Offline ElMartu

  • Hero
  • ****
    • Posts: 2999
    With us since: 29/03/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #10 on: February 13, 2010, 12:21:08 am
Copypaste into OnPlayerCommandText
Code: [Select]
if(!strcmp(cmdtext, "/duty", true) )
{
        new Float:position[3];
        GetPlayerPos(playerid, position[0]. position[1], position[2]);
        CreatePlayerObject(playerid, -1, position[0], position[1], position[2], 0.0, 0.0, 0.0);
        return 1;
       
}

it should work perfectly



Mike.

  • Guest
Reply #11 on: February 13, 2010, 07:31:39 pm
Copypaste into OnPlayerCommandText
Code: [Select]
if(!strcmp(cmdtext, "/duty", truesomething weird
{
        new Float:position[3];
        GetPlayerPos(playerid, position[0]. position[1], position[2]);
        CreatePlayerObject(playerid, -1, position[0], position[1], position[2], 0.0, 0.0, 0.0);
        return 1;
       
}

it should work perfectly
Aborted 4 errors :O



Offline Janar

  • Hero
  • ****
    • Posts: 3954
    With us since: 07/06/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
  • SA:MP: [WS]Janar
Reply #12 on: February 13, 2010, 08:58:33 pm
Check where these errors appear.



Offline ElMartu

  • Hero
  • ****
    • Posts: 2999
    With us since: 29/03/2008
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Reply #13 on: February 13, 2010, 10:04:01 pm
Dude it was sarcasm, lol



Mike.

  • Guest
Reply #14 on: February 14, 2010, 01:49:13 pm
Dude it was sarcasm, lol
 You got guts :D Wait till im unbanned ill come get you for this lol.



 


free
SimplePortal 2.3.7 © 2008-2025, SimplePortal