How to make trams.
#1

How to make trams.
Reply
#2

WTF is trams ? you mean trains ?
Reply
#3

He may also mean TRAM as the "UNDESTROYABLE BatMan" vehicle that goes around San Fierro.
Reply
#4

Do you wish to create a NPC Tram or just the "TRAM"?
Reply
#5

idea? I found this

PHP код:
new tram;
public 
OnGameModeInit( )
{
tram AddStaticVehicle(449,1944.9480,-1953.7500,14.2082,270.0000,36,0);
//More
return 1;
}
//Commands
CMD:tramenter(playeridparams[])
{
PutPlayerInVehicle(playerid,tram,0);
return 
1;

Reply
#6

hmm,
PHP код:
new tram;
// OnGameModeInit
tram AddStaticVehicleEx(449XYZAngleColor1Color2RespawnDelay);
// Commands
CMD:tramenter(playeridparams[]) 
{
    
PutPlayerInVehicle(playeridtram0);
    return 
1;
}
CMD:tramexit(playeridparams[]) 
{
    if(
IsPlayerInAnyVehicle(playerid))
    {
        if(
GetPlayerVehicleID(playerid) == tram)
        {
            
RemovePlayerFromVehicle(playerid);
        }
    }
    return 
1;

Reply
#7

this with /tramexit is good. Thx
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)