26.06.2011, 20:00
Hi people. I want to add more teleports in my server. See example from my teleports script:
I know how to add more teleports but don't know from where i can get coordinats like "-1974.2872,270.7369,35.1719" for the new place? Can you help me with this?
Код:
//--------------------------------------------TELEPORT cardealer if(strcmp(cmdtext, "/cardealer", true) == 0) {new cartype = GetPlayerVehicleID(playerid); new State=GetPlayerState(playerid); SetPlayerInterior(playerid,0); {if(State!=PLAYER_STATE_DRIVER) {SetPlayerPos(playerid,-1974.2872,270.7369,35.1719);} else if(IsPlayerInVehicle(playerid, cartype) == 1) {SetVehiclePos(cartype,-1974.2872,270.7369,35.1719); SetVehicleZAngle(cartype,359.7314);} else {SetPlayerPos(playerid,-1974.2872,270.7369,35.1719);} GameTextForPlayer(playerid,"Welcome to Car Dealer",2500,3);} return 1;}