24.12.2009, 03:20
TelePlayerToPlayer
Код:
stock TeleportPlayerToPlayer(playerid, gotoID) { new Float: X, Float: Y, Float Z; GetPlayerPos(gotoID,X,Y,Z); if(IsPlayerInAnyVehicle(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),X+3,Y,Z); } else { SetPlayerPos(playerid,X+2,Y,Z); } }