tcc - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: tcc (
/showthread.php?tid=315289)
tcc +1 REP! -
saringan_cs - 02.02.2012
how I can tow the car without any CMD
? please help
Re: tcc -
KingHual - 02.02.2012
Tip: Use your keyboard ._.
Re: tcc -
saringan_cs - 02.02.2012
how....
Re: tcc -
KingHual - 02.02.2012
I dont get it - You want to SCRIPT towing, or do you want to learn how to tow like in the normal GTA SA ?
Re: tcc -
Konstantinos - 02.02.2012
Untested.
pawn Код:
// PRESSED(keys)
#define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
public OnPlayerKeyStateChange( playerid, newkeys, oldkeys )
{
if( PRESSED( KEY_FIRE ) )
{
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) != 525 ) return SendClientMessage( playerid, -1, "You are not in a tow truck" );
if(IsTrailerAttachedToVehicle( GetPlayerVehicleID( playerid ) ) )
{
DetachTrailerFromVehicle( GetPlayerVehicleID( playerid ) );
}
else
{
AttachTrailerToVehicle( GetPlayerVehicleID( playerid ), GetPlayerVehicleID( playerid ) );
}
}
return 1;
}
Re: tcc -
saringan_cs - 02.02.2012
yes.... thanks....
Re: tcc -
saringan_cs - 02.02.2012
don't work
(
Re: tcc -
saringan_cs - 02.02.2012
please help!
Re: tcc -
KingHual - 02.02.2012
Did you even press the fire button to test?
Re: tcc -
Infinity - 02.02.2012
I'm sorry, what makes you so special that you have to bump your thread three times within an hour? Please have a little respect and patience.