SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 04/05/2013, 11:39 AM   #1
Rayan_black
Huge Clucker
 
Rayan_black's Avatar
 
Join Date: Jan 2012
Posts: 328
Reputation: 46
Default San Andreas Singleplayer cheats[UPDATED TO V2.0]


Explanations
-It's just I was messing the old days in SA Singleplayer, and though of bringing them back with this filterscript, this one will give you the ability to use the OLD cheats in SA-MP, not all of them but the few possible cheats only, it can be disabled or enabled by a command, and it's command based or text based aswell, the picture above show it all.

Commands
lxgiwyl - Weapon pack 1
professionalskit - Weapon pack 2
hesoyam - Armour + Health + 250,000$
goodbyecruelworld - Kill your self.
baguvix - Can't be killed.
aiwprton - Tank
cqzijmb - Blooding Banger
jqntdmh - Ranger
vrockpokey - Horing Racer #1
vpjtqwv - Horing Racer #2
celebritystatus - Limousin Stretch
truegrime - Trash truck
rzhsuew - Taxi
ohdude - Hunter
monstermash - Monster car
jumpjet - Hydra
rocketman - Jetpack
aiypwzpq - Parachute
pleasantlywarm - Good weather
alnsfmzo - Bad weather
cfvfgmj - Orange weather
cwjxuoc - Sable
cheatslist - Shows you all the cheats
cheats - to disable or enable the text based cheats
Installation
-Copy both SA_CHEATS.amx and SA_CHEATS.pwn to your fiterscript directory.
-Make sure you have zcmd inculde.
-Open your server file and add SA_CHEATS in filterscripts line.
-and viola enjoy.
Credits
-Hoss: For some useful tips (thanks bro <3)
-Kye: For SA-MP.
-Zeex: For ZCMD.
Improvements
-No more bugs.
-The Textdraws works perfectly now.
-More orgenized script.
Download
V2.0:
Pasteben
Mediafire
Enjoy

Last edited by Rayan_black; 07/05/2013 at 08:12 PM.
Rayan_black is offline   Reply With Quote
Old 04/05/2013, 11:42 AM   #2
JaKe Elite
High-roller
 
JaKe Elite's Avatar
 
Join Date: Apr 2012
Location: Philippines
Posts: 3,687
Reputation: 486
Default Re: San Andreas Singleplayer cheats[cmd based and text based]

If there is only a function that can make all buttons in the keyboard detectable.
Then it can be make it possible without using Chat Key ('T') then type the cheat code.
__________________
Haven County Roleplay (Click here to join the server)
Discord: Click here to join our Discord
Website: Click here to register
____________________________
Discord: Corporal★Shepard#3135
JaKe Elite is offline   Reply With Quote
Old 04/05/2013, 11:43 AM   #3
Rayan_black
Huge Clucker
 
Rayan_black's Avatar
 
Join Date: Jan 2012
Posts: 328
Reputation: 46
Default Re : San Andreas Singleplayer cheats[cmd based and text based]

Indeed, I heard they're considering making that function in 0.4..
Rayan_black is offline   Reply With Quote
Old 04/05/2013, 11:50 AM   #4
Hoss
Big Clucker
 
Join Date: Sep 2010
Posts: 186
Reputation: 85
Default Re: San Andreas Singleplayer cheats[cmd based and text based]

Nicely done
Good job
Hoss is offline   Reply With Quote
Old 04/05/2013, 11:51 AM   #5
Rayan_black
Huge Clucker
 
Rayan_black's Avatar
 
Join Date: Jan 2012
Posts: 328
Reputation: 46
Default Re : San Andreas Singleplayer cheats[cmd based and text based]

thanks hossy
Rayan_black is offline   Reply With Quote
Old 04/05/2013, 11:54 AM   #6
JSkulloz
Little Clucker
 
JSkulloz's Avatar
 
Join Date: Apr 2013
Posts: 13
Reputation: 5
Default Re: San Andreas Singleplayer cheats[cmd based and text based]

nice 0.0
JSkulloz is offline   Reply With Quote
Old 04/05/2013, 11:55 AM   #7
Jasem
Little Clucker
 
Jasem's Avatar
 
Join Date: Jan 2013
Location: Philippines
Posts: 1
Reputation: 0
Default Re: San Andreas Singleplayer cheats[cmd based and text based]

Good job on this one. :3
Jasem is offline   Reply With Quote
Old 04/05/2013, 12:16 PM   #8
Rayan_black
Huge Clucker
 
Rayan_black's Avatar
 
Join Date: Jan 2012
Posts: 328
Reputation: 46
Default Re : San Andreas Singleplayer cheats[cmd based and text based]

Thanks guys :3
Rayan_black is offline   Reply With Quote
Old 04/05/2013, 12:26 PM   #9
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,230
Reputation: 993
Default Re: San Andreas Singleplayer cheats[cmd based and text based]

Not good I'm afraid. Why is a filterscript interfering with OnPlayerRequestClass? Why are processed commands returning 0? They should return 1. Why are you checking the 'canusecheats' variable for every command? You only need it once.

Also, the 'Cheat Activated' TD is stretched.
__________________
Click banner above for more info. View trailers here.
Enter referral code SAMPFORUM after registering for a $5000 starting bonus!
MP2 is offline   Reply With Quote
Old 04/05/2013, 12:37 PM   #10
Rayan_black
Huge Clucker
 
Rayan_black's Avatar
 
Join Date: Jan 2012
Posts: 328
Reputation: 46
Default Re : Re: San Andreas Singleplayer cheats[cmd based and text based]

Quote:
Originally Posted by MP2 View Post
Not good I'm afraid. Why is a filterscript interfering with OnPlayerRequestClass? Why are processed commands returning 0? They should return 1. Why are you checking the 'canusecheats' variable for every command? You only need it once.

Also, the 'Cheat Activated' TD is stretched.
Just forgot to delete it, not a big problem... I use basic ways and I don't make my filterscript complecated, it's for newbies I coded everything in a simple way and the commands are returning 1, but the text is returning 0 because it will return to false value when checking if he wrote it.
Rayan_black 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
INI Based UCP! Franx Scripting Help 6 15/02/2013 01:57 PM
[Include] lNotifications [Text-Draws Based!] Littlehelper Includes 17 24/07/2012 06:41 AM
Converting a mysql based to .ini based Johnny_Robins Server Support 6 04/07/2012 07:06 PM
A roleplay server based on a military based war? CobraAziz General 21 05/05/2012 07:15 AM
Text based games? Sal_Kings Everything and Nothing 2 27/01/2010 11:12 AM


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


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