Show Posts
|
Pages: [1]
|
2
|
Scripting / Script Help / Re: Player not Putted to vehicle
|
on: January 03, 2012, 12:50:11 pm
|
Sorry, i inattentive today...
You should use function Vector everywhere, where X,Y,Z coordinates is reqiured Vector(Coordinate_x, Coordinate_y, Coordinate_z ); http://squirrel-lang.org/doc/squirrel3.html#d0e1779
local car = CreateVehicle( 119, Vector(103.33, -939.2, 25.75) ); car.Alpha = 255; player.Vehicle = car; CreateClientSphere( Vector(184.21, -952.2, 25.75), 5.0, player ); Ohhh mean, im must added rotate, also dont function. Sphere is not created ;(
|
|
|
4
|
Scripting / Script Help / Re: Player not Putted to vehicle
|
on: January 03, 2012, 12:24:12 pm
|
thx man, also not create Sphere. Code:
local car = CreateVehicle( 119, 103.33, -939.2, 25.75, 260 ); car.Alpha = 255; player.Vehicle = car; CreateClientSphere( Vector(184.21, -952.2, 25.75), 5.0, player );
Also is deactive putting, Sphere is created..
|
|
|
5
|
Scripting / Script Help / Player not Putted to vehicle
|
on: January 02, 2012, 08:43:55 pm
|
Hi, this is my code:
local car = CreateVehicle( VEH_INFERNUS, 103.33, -939.2, 25.75, 90 ); player.EnterVehicle( car, DOOR_DRIVER ); car.Alpha = 126; CreateCheckpoint( Vector(184.21, -952.2, 25.75), 5.0 );
im tested this: player.Vehicle = car;
If tested this ^^ code, car is dont create... What is bad?
|
|
|
6
|
Liberty Unleashed / Suggestions / My suggestions to the new version
|
on: January 02, 2012, 05:57:23 pm
|
Hi, Please, add to new version: Map Editor-Moving Camera From MTA:SA, Adding objects,vehicles and checkpoints Screen GUI editor - more??? Put Player To Vehicle Function Ghost Mode - not crash able These things need to mod preparing. I want to do as Mod Race in MTA SA. By this mode, the famous MTA: SA . + Submods: DD(Destruction Derby) DM(Death Match) Thx and sorry for my bad english, im using Google Translate
|
|
|
7
|
Scripting / Script Help / Dont Remove Head
|
on: January 02, 2012, 03:15:38 pm
|
Hello, this is code:
function onPlayerCommand( pPlayer, szCmd, szParams ) { if( szCmd = "kill" ) { pPlayer.RemoveLimb( BODYPART_HEAD ); MessagePlayer( "Zabil si sa", pPlayer ); } }
What Is bad??? If im type /kill, not send message and dont remove head
|
|
|
|