SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 18/06/2018, 02:22 PM   #1
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,992
Reputation: 538
Default Twisted Metal: SA-MP

Hi guys, I just released Twisted Metal: SA-MP. It's pretty old code so don't bash me too much!

"I had to decide. It took me all of ten seconds. Let's face it, boys and girls: a man has to have his priorities." - Sweet Tooth, Twisted Metal: Black.

https://github.com/karimcambridge/SAMP-TWISTED-METAL
Kar is offline   Reply With Quote
Old 18/06/2018, 02:41 PM   #2
Calisthenics
Gangsta
 
Join Date: May 2018
Posts: 679
Reputation: 110
Default Re: Twisted Metal: SA-MP

pawn Code:
printf("[SYSTEM: OnPasswordChanged]: %s - %s.", username, password);

printf("[Thread: OnUserRegister] - %s(%d) - %s", playerName(playerid), playerid, inputtext);
Owners can find all passwords of their players in server log.

Another thing I noticed is:
OnPlayerConnect -> Thread_DoesAccountExists
Thread_DoesAccountExists (no rows) -> DIALOG_REGISTRATION
DIALOG_REGISTRATION -> Thread_OnUserRegister (SELECT query)
Thread_OnUserRegister -> INSERT query

You send a SELECT query twice when you know beforehand the player is not registered.
Calisthenics is offline   Reply With Quote
Old 18/06/2018, 02:55 PM   #3
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,992
Reputation: 538
Default Re: Twisted Metal: SA-MP

That was just for walk throughs, and again

"It's pretty old code" <<<

Last edited by Kar; 18/06/2018 at 05:02 PM.
Kar is offline   Reply With Quote
Old 18/06/2018, 03:31 PM   #4
iAmir
Banned
 
Join Date: May 2017
Location: Iran
Posts: 116
Reputation: 191
Default Re: Twisted Metal: SA-MP

Didnít know youíll release it when I mentioned and talked about it yesterday xd. Great.
iAmir is offline   Reply With Quote
Old 18/06/2018, 03:36 PM   #5
Battlezone
Gangsta
 
Battlezone's Avatar
 
Join Date: Aug 2013
Location: Berlin
Posts: 804
Reputation: 155
Default Re: Twisted Metal: SA-MP

That's pretty unique I like the implementation
Battlezone is offline   Reply With Quote
Old 18/06/2018, 11:20 PM   #6
Droxx
Big Clucker
 
Droxx's Avatar
 
Join Date: Dec 2015
Posts: 116
Reputation: 32
Default Re: Twisted Metal: SA-MP

Was a beta tester xd, Rani, good script anyways!
Droxx is online now   Reply With Quote
Old 19/06/2018, 06:33 AM   #7
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 580
Reputation: 54
Default Re: Twisted Metal: SA-MP

Tell something about this game mode. features, what is twisted metal etc etc.
__________________
coool is offline   Reply With Quote
Old 19/06/2018, 06:36 AM   #8
Logic_
Banned
 
Join Date: Jun 2015
Posts: 1,514
Reputation: 305
Default Re: Twisted Metal: SA-MP

Quote:
Originally Posted by coool View Post
Tell something about this game mode. features, what is twisted metal etc etc.
LOL - Just search it on YouTube. It's an implementation of a PS game to SA-MP.
Logic_ is offline   Reply With Quote
Old 19/06/2018, 07:06 AM   #9
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,992
Reputation: 538
Default Re: Twisted Metal: SA-MP

Quote:
Originally Posted by coool View Post
Tell something about this game mode. features, what is twisted metal etc etc.
See the very old laggy youtube videos in the github readme.
Kar is offline   Reply With Quote
Old 19/06/2018, 07:13 AM   #10
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 580
Reputation: 54
Default Re: Twisted Metal: SA-MP

Quote:
Originally Posted by Logic_ View Post
LOL - Just search it on YouTube. It's an implementation of a PS game to SA-MP.
ok
Quote:
Originally Posted by Kar View Post
See the very old laggy youtube videos in the github readme.
ok
__________________
coool 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
Have you ever played any of the Twisted Metal series? Donya Everything and Nothing 4 04/08/2011 07:40 AM


All times are GMT. The time now is 12:42 AM.


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