SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 23/06/2008, 02:00 PM   #1
kaisersouse
High-roller
 
kaisersouse's Avatar
 
Join Date: Jun 2006
Location: sbhost.me
Posts: 4,412
Reputation: 1011
Default Script Request Thread

This thread is for people to post gamemode and filterscript ideas, in an effort to find people willing to help them make it. Please keep all requests to this thread, and do NOT flame or bump!

Also keep in mind...."code can be stolen...ideas cannot"

Have at it....
__________________

Everystuff - Freeroam * DM * Stunt * Race *
0.3z - 69.60.109.171:7777

kaisersouse is offline  
Old 23/06/2008, 02:12 PM   #2
boemeles
Gangsta
 
Join Date: Aug 2007
Posts: 814
Reputation: 1
Default Re: Gamemode Request Thread

More or less off topic: better change it to script request people will need FS too...
boemeles is offline  
Old 23/06/2008, 02:24 PM   #3
kaisersouse
High-roller
 
kaisersouse's Avatar
 
Join Date: Jun 2006
Location: sbhost.me
Posts: 4,412
Reputation: 1011
Default Re: Gamemode Request Thread

Quote:
Originally Posted by
$!7ѩ!ՙ ]
More or less off topic: better change it to script request people will need FS too...
good point. done.
__________________

Everystuff - Freeroam * DM * Stunt * Race *
0.3z - 69.60.109.171:7777

kaisersouse is offline  
Old 23/06/2008, 02:43 PM   #4
MinnieMan121249
Little Clucker
 
Join Date: Jun 2008
Posts: 7
Reputation: 0
Default Re: Script Request Thread

http://forum.sa-mp.com/index.php?topic=63523.0
can someone help? PM me or something
MinnieMan121249 is offline  
Old 23/06/2008, 04:15 PM   #5
shitbird
High-roller
 
shitbird's Avatar
 
Join Date: Nov 2007
Posts: 1,287
Reputation: 31
Default Re: Script Request Thread

Quote:
Originally Posted by MinnieMan121249
http://forum.sa-mp.com/index.php?topic=63523.0
can someone help? PM me or something
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
   new string[256];
   SendDeathMessage(playerid,killerid,reason);
   format(string, sizeof(string), "%s was Wacked by %s", playerid,killerid);
   SendClientMessageToAll(COLOR,string);
   return 1;
}
Replace COLOR with ur color need.
shitbird is offline  
Old 23/06/2008, 05:20 PM   #6
MinnieMan121249
Little Clucker
 
Join Date: Jun 2008
Posts: 7
Reputation: 0
Default Re: Script Request Thread

Quote:
Originally Posted by Mikkel
Quote:
Originally Posted by MinnieMan121249
http://forum.sa-mp.com/index.php?topic=63523.0
can someone help? PM me or something
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
   new string[256];
   SendDeathMessage(playerid,killerid,reason);
   format(string, sizeof(string), "%s was Wacked by %s", playerid,killerid);
   SendClientMessageToAll(COLOR,string);
   return 1;
}
Replace COLOR with ur color need.
what do you mean replace COLOr with my color need? like type "...(red,string);"? because it dosent work it sais:
Code:
 D:\games\Rockstar Games\GTA San Andreas\samp022server.win32\gamemodes\IV_deathmatch.pwn(79) : error 017: undefined symbol "red"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
MinnieMan121249 is offline  
Old 23/06/2008, 06:11 PM   #7
shitbird
High-roller
 
shitbird's Avatar
 
Join Date: Nov 2007
Posts: 1,287
Reputation: 31
Default Re: Script Request Thread

No. with the COLOR.

you have to do this on top of ur script : (below #include)

Code:
#define red 0xF600FF
shitbird is offline  
Old 24/06/2008, 01:47 AM   #8
StrangeyD
Little Clucker
 
Join Date: Jun 2008
Posts: 4
Reputation: 0
Default Re: Script Request Thread

Hi im new here

im an amateur scripter.. learning as i go along

I currently have a server running an updated Pen1 GM, I have hopefully fixed alot of the glitches & bugs to suit the server needs.

So now i can turn my attention to FS's.

Im currently trying to find or make a Quarry Missions FS:

-Go to Quarry Get in Dumper Truck, {Mission Starts on button 2}

-Drive to LS Docks, in to Red marker {Like checkpoint}

-Then back to Quarry to end that run, and earn 1 service point {3/3 service points to get 1exp}

Could this be done?

Thanks for your Time
StrangeyD

StrangeyD is offline  
Old 24/06/2008, 02:45 AM   #9
MinnieMan121249
Little Clucker
 
Join Date: Jun 2008
Posts: 7
Reputation: 0
Default Re: Script Request Thread

Thanks, Mikkel! Would you help me out just alittle bit?
MinnieMan121249 is offline  
Old 24/06/2008, 11:19 AM   #10
shitbird
High-roller
 
shitbird's Avatar
 
Join Date: Nov 2007
Posts: 1,287
Reputation: 31
Default Re: Script Request Thread

Quote:
Originally Posted by Andre9977
Quote:
Originally Posted by Mikkel
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
   new string[256];
   SendDeathMessage(playerid,killerid,reason);
   format(string, sizeof(string), "%s was Wacked by %s", playerid,killerid);
   SendClientMessageToAll(COLOR,string);
   return 1;
}
Replace COLOR with ur color need.
You'll need "IsPlayerConnected()" check on 'killerid' or just "if(killerid != INVALID_PLAYER_ID)" check.
Also, string size doesn't need to be 256, as the maximum lenght of characters that can be printed is 128.
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
   if(!IsPlayerConnected(killerid)) return 0;
   new string[128];
   SendDeathMessage(playerid,killerid,reason);
   format(string, sizeof(string), "%s was Wacked by %s", playerid,killerid);
   SendClientMessageToAll(COLOR_RED,string);
   return 1;
}
shitbird is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script Request Thread #5 jameskmonger Help Archive 8 06/03/2011 12:42 PM
Script Request Thread #4 dugi Help Archive 1712 31/10/2010 11:08 AM
Re: Script Request Thread #3 clean180ollie Help Archive 879 05/01/2010 04:08 PM


All times are GMT. The time now is 08:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.