01.04.2009, 18:40
Well I'm getting like FRUSTRATED now on this bug, I tried everything like adding random numbers and shit. What is wrong with this code:
Neither "pInfo[playerid][OwnCar]" replacing by a random number nor changing the code a bit so you get another array, it wont work..
Any help?
Edit:
Tried changing the array again, worked now o.O I guess I have to try another way calling this vehicle, nevermind this all!
Код:
new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid,X,Y,Z); SetVehiclePos(pInfo[playerid][OwnCar],X,Y,Z); SendClientMessage(playerid,c_green,"You have teleported your car to your position."); #pragma unused params return 1;
Any help?
Edit:
Tried changing the array again, worked now o.O I guess I have to try another way calling this vehicle, nevermind this all!