19.12.2010, 12:33
Hey all, I have maked this teleportation to Derby Stadium :
But when I tape /derby, it set my interior to 15 without Teleportation & give me a Hotring
I need when someone tape /derby = telep + set interior + give car & put it in the Hotring
Thankss very much !
pawn Код:
if (strcmp(cmdtext, "/derby", true) == 0)
{
SetPlayerPos(playerid, -1510.7020,1014.6202,1037.8568);
SetPlayerInterior(playerid,15);
new Float:X,Float:Y,Float:Z,Float:A;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,A);
Car = CreateVehicle(502,X,Y,Z,A,-1,-1,-1);
PutPlayerInVehicle(playerid, Car ,0);
LinkVehicleToInterior(Car, 15);
return 1;
}
I need when someone tape /derby = telep + set interior + give car & put it in the Hotring
Thankss very much !