[FilterScript] City Spawn Choice!
#1

Hey guys I have made a new filterscript in which you can choose what city you spawn in. The spawnpoints of each are chosen randomly according to that city. You can add your own spawnpoints(my coords are just for testing purposes).
There are 4 lists of coords (Coords for LS, LV, SF and RandomSpawn.)


COMMANDS

/sfspawn (You only spawn in the city SF)
/lsspawn (You only spawn in the city LS)
/lvspawn (You only spawn in the city LV)
/randomspawn (You spawn randomly in all cities)


INCLUDES
<a_samp>

CONFIGURATION
Compile the .pwn file into your filterscripts file.
Add the filterscript name to your server.cfg.

HOW TO ADD DIFFERENT SPAWNPOINTS
The instructions are in the script given below in pastebin.

SCREENSHOTS
http://imgur.com/a/pRm4S

SCRIPT FILE
Pastebin (perfect indents and no errors): http://pastebin.com/ZeBLkEvG

p.s My last filterscript was a complete fail. I ended up insulting a few I never meant to. I'm very sorry for my behavior then.
Reply
#2

Forgive me but its too too too basic !!! and useless
Reply
#3

Quote:
Originally Posted by aymane123
View Post
Forgive me but its too too too basic !!! and useless
It may be of no use to you but may be of use to someone else. So it would be harsh to call it useless as someone might just use this for the co-ordinates.
Reply
#4

Pretty basic for a release in my opinion, not much real use for this as a Filterscript.
Reply
#5

Quote:

Perfect indents

PHP Code:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/sfspawn"cmdtexttrue10) == 0)
    {
    
spawnSF 1;
    
spawnLV 0;
    
spawnLS 0;
    
randomspawn 0;
    
SendClientMessage(playerid0x99FFFF"You have set your spawnpoint to SF!");
    new 
str[64];
    
format(str,sizeof(str),"~b~Spawnpoint:~n~~r~LV~b~/~r~LS~b~/~g~SF");
    
GameTextForPlayer(playeridstr50006);
    return 
1;
    } 
No more to say xD
Reply
#6

Quote:
Originally Posted by Djean
View Post
Pretty basic for a release in my opinion, not much real use for this as a Filterscript.
You can't even consider this a release. 1-Star
Reply
#7

You guys tell me what you think I should add to it if it's too basic.
Reply
#8

Quote:
Originally Posted by Triggerz
View Post
You guys tell me what you think I should add to it
THIS IS NOT MEANT TO BE OFFENSIVE, OK?

Look at the massive amount of filterscripts / game modes out there. Honestly you shouldn't add anything to it, but try to make something unique or useful, like includes, plugins or external tools.
Reply
#9

Quote:
Originally Posted by [Bios]Marcel
View Post
THIS IS NOT MEANT TO BE OFFENSIVE, OK?

Look at the massive amount of filterscripts / game modes out there. Honestly you shouldn't add anything to it, but try to make something unique or useful, like includes, plugins or external tools.
I don't know how to make them.
Reply
#10

Quote:
Originally Posted by Triggerz
View Post
I don't know how to make them.
Life is a learning experience Anyways, i don't say its easy to create something unique or/and useful, but you could also contribute to other projects, there are some nice projects that don't really go forward, cause the initial developers don't do much, but most of the time, those projects are open source, so you might want to think about helping others. Looking at myself for example, earlier, i did also just release bullshit like a troll admin system (basically you give someone admin and he gets banned on doing commands), a bomb that you could plant inside of a car (really poorly made) and more bullshit. No one needed that shit, it wasn't even much of a learning experience, so it was basically worth nothing, not for me and not for others. Nowadays, i at least try to do useful stuff, which definitely feels better ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)