SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 02/12/2011, 07:13 AM   #1
PlayHard
Huge Clucker
 
PlayHard's Avatar
 
Join Date: Nov 2011
Location: In an apartment
Posts: 217
Reputation: 22
Default PlayHard Sprunk

PlayHard Sprunk

Information:

PlayHard Sprunk is a very simple project that you might wanna use to remove Sprunk and chocolate machines around San Andreas.

Why?

I saw one guy asking for it, so I had this idea of making this project to help him and maybe others. You could make your own Sprunk and chocolate machines especially for the server-sided money.

Updates:

Code:
First release:
4 Sprunk machines are gone from Las Venturas(2) and Los Santos(2)

The script:

pawn Code:
public OnPlayerConnect(playerid)
{
    PlayHardSprunk(playerid);
    return 1;
}

PlayHardSprunk(playerid)
{
    RemoveBuildingForPlayer(playerid, 955, 1928.7344, -1772.4453, 12.9453, 0.25);
    RemoveBuildingForPlayer(playerid, 955, 2325.9766, -1645.1328, 14.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 955, 1520.1484, 1055.2656, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 955, 2085.7734, 2071.3594, 10.4531, 0.25);
}

Thank you for reading my thread.
Hoping you finding this one useful.
Copyrights(c) are reserved to PlayHard.

Last edited by PlayHard; 02/12/2011 at 01:15 PM.
PlayHard is offline   Reply With Quote
Old 02/12/2011, 12:31 PM   #2
Psymetrix
Huge Clucker
 
Join Date: Oct 2011
Posts: 302
Reputation: 88
Default Re: PlayHard Sprunk

This is NOT a filterscript. If you take away the code that is required, It's only 4 lines!

You would have been better releasing it as a function.

pawn Code:
public OnPlayerConnect(playerid)
{
    RemovePlayerSprunkMachines(playerid);
    return 1;
}

RemovePlayerSprunkMachines(playerid)
{
    RemoveBuildingForPlayer(playerid, 955, 1928.7344, -1772.4453, 12.9453, 0.25);
    RemoveBuildingForPlayer(playerid, 955, 2325.9766, -1645.1328, 14.2109, 0.25);
    RemoveBuildingForPlayer(playerid, 955, 1520.1484, 1055.2656, 10.0000, 0.25);
    RemoveBuildingForPlayer(playerid, 955, 2085.7734, 2071.3594, 10.4531, 0.25);
}
Psymetrix is offline   Reply With Quote
Old 02/12/2011, 12:41 PM   #3
PlayHard
Huge Clucker
 
PlayHard's Avatar
 
Join Date: Nov 2011
Location: In an apartment
Posts: 217
Reputation: 22
Default Re: PlayHard Sprunk

Quote:
Originally Posted by Psymetrix View Post
This is NOT a filterscript. If you take away the code that is required, It's only 4 lines!
It's a project actually. I am searching for the sprunk machines. After I find them all, it will be a lot but yeah, thank you. I'll be editing the thread as soon as I get to my laptop. I'm on my cell phone.
PlayHard is offline   Reply With Quote
Old 02/12/2011, 12:43 PM   #4
Psymetrix
Huge Clucker
 
Join Date: Oct 2011
Posts: 302
Reputation: 88
Default Re: PlayHard Sprunk

Quote:
Originally Posted by PlayHard View Post
It's a project actually. I am searching for the sprunk machines. After I find them all, it will be a lot but yeah, thank you. I'll be editing the thread as soon as I get to my laptop. I'm on my cell phone.
Then why are you releasing it early? Ah well, good luck
Psymetrix is offline   Reply With Quote
Reply

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
Automatich sprunk wouter0100 Help Archive 2 20/08/2011 10:34 AM
Ideal Sprunk iReaLCFG Help Archive 2 07/01/2011 01:58 PM
[HELP] Sprunk Charley_Fox Help Archive 0 07/09/2010 10:28 PM


All times are GMT. The time now is 11:54 PM.


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