/x Desvirar Carro
#1

Eu Coloquei , o COD do /x e ta dando este erro ViDs nгo sei porque sabe me dizer oque й?




C:\Documents and Settings\AOC\Desktop\*\BLACKSHOT 3\REALLY LINE\gamemodes\GM.pwn(355) : error 021: symbol already defined: "VIDs"
C:\Documents and Settings\AOC\Desktop\*\BLACKSHOT 3\REALLY LINE\gamemodes\GM.pwn(353) : warning 203: symbol is never used: "VIDs"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.






COMANDO :





Код:
if(strcmp("/x", cmdtext, true, 10) == 0)
{
     if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xAA3333AA,"You are not in car!");
     new VIDs, Float:X, Float:Y, Float:Z, Float:Angle;
     GetPlayerPos(playerid, X, Y, Z);
     new VIDs = GetPlayerVIDs(playerid);
     GetVehicleZAngle(VIDs, Angle);
     SetVehiclePos(VIDs, X, Y, Z);
     SetVehicleZAngle(VIDs, Angle);
     SendClientMessage(playerid, 0x33AA33AA,"Vc desvirou seu carro");
     return 1;
}
Reply
#2

Theres a section for portuguese language, this is an english only section
Reply
#3

I cant speak prtuguese BUT :
Quote:

if(strcmp("/x", cmdtext, true, 10) == 0)
{
if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xAA3333AA,"You are not in car!");
new VIDs, Float:X, Float:Y, Float:Z, Float:Angle;
GetPlayerPos(playerid, X, Y, Z);
new VIDs = GetPlayerVIDs(playerid);
GetVehicleZAngle(VIDs, Angle);
SetVehiclePos(VIDs, X, Y, Z);
SetVehicleZAngle(VIDs, Angle);
SendClientMessage(playerid, 0x33AA33AA,"Vc desvirou seu carro");
return 1;
}

new VIDs, Float:X, Float:Y, Float:Z, Float:Angle;
new VIDs = GetPlayerVIDs(playerid);
Why ?
Use this :
Quote:

if(strcmp("/x", cmdtext, true, 10) == 0)
{
if (!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xAA3333AA,"You are not in car!");
new Float:X, Float:Y, Float:Z, Float:Angle;
GetPlayerPos(playerid, X, Y, Z);
new VIDs = GetPlayerVIDs(playerid);
GetVehicleZAngle(VIDs, Angle);
SetVehiclePos(VIDs, X, Y, Z);
SetVehicleZAngle(VIDs, Angle);
SendClientMessage(playerid, 0x33AA33AA,"Vc desvirou seu carro");
return 1;
}

Reply
#4

errror
Quote:

C:\Documents and Settings\AOC\Desktop\*\BLACKSHOT 3\REALLY LINE\gamemodes\GM.pwn(354) : error 017: undefined symbol "GetPlayerVIDs"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Reply
#5

thank you looks getplayervids I deleted it and compile earned
Reply
#6

Dear friends managed to compile but when the command / x type creates a car and comes to you WTF?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)