11.04.2011, 06:49
Nope.. That didn't work either.
Heres the updated code. Unless you mean... AddStaticVehicle and then call the vehicles ID to the spot..
pawn Код:
if(strcmp(cmdtext, "/call hydra", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 7, 2728.0461,-2302.7786,16.5892))
{
GetPlayerPos(playerid,X,Y,Z);
PutPlayerInVehicle(playerid, AddStaticVehicleEx (520, X, Y, Z, 0, 0, 0, 900);
return 1;
}
}