Question

Помогите с ошибками пожалуйста :)

Ошибки:

C:\Users\Gazeta\Desktop\Server\gamemodes\2.pwn(9858) : error 021: symbol already defined: "y"
C:\Users\Gazeta\Desktop\Server\gamemodes\2.pwn(9859) : error 017: undefined symbol "z"
C:\Users\Gazeta\Desktop\Server\gamemodes\2.pwn(9860) : error 017: undefined symbol "z"
C:\Users\Gazeta\Desktop\Server\gamemodes\2.pwn(9858) : warning 203: symbol is never used: "y"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.

code

	    new carid = GetPlayerVehicleID(playerid), Float: x, Float: y, Float: y;
	    GetVehicleVelocity(carid, x, y, z);
	    SetVehicleVelocity(carid, 2*x, 2*y, 2*z);

 

Share this post


Link to post

2 answers to this question

  • 0
new carid = GetPlayerVehicleID(playerid), Float:X, Float:Y, Float:Z; 
GetVehicleVelocity(carid, X, Y, Z); 
SetVehicleVelocity(carid, 2*X, 2*Y, 2*Z);

 

Share this post


Link to post
  • 0

заменить строчку:
 

 new carid = GetPlayerVehicleID(playerid), Float: x, Float: y, Float: z;

 

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content