Code
if(!strcmp(cmdtext, "/stin", true))
{
if(!IsPlayerInAnyVehicle(playerid))return 1;
new cacheVID = GetPlayerVehicleID(playerid), cacheSeat = GetPlayerVehicleSeat(playerid), Float:nowX, Float:nowY, Float:nowZ;
GetPlayerPos(playerid, nowX, nowY, nowZ),
SetPlayerPos(playerid, nowX, nowY, nowZ+0.2),
PutPlayerInVehicle(playerid, cacheVID, cacheSeat);
return 1;
}
Eigentlich, muss das so gehen. Übernehme den Befehl mal so..