NEED HELP MAKING TELEPORTS AND ADDING THEM PLZ HELP
#1

i need helping adding teleports into my server can someone please help me

i have some co-ords i can give u and can u help/show me how to make these teleport


AddPlayerClass(106,-2401.9023,-1632.2725,521.2131,260.0227,0,0,0,0,0,0); // chilliad

AddPlayerClass(106,2495.5273,-1689.0653,14.1981,3.3946,0,0,0,0,0,0); // /grove

my emails are

justinsingh83@live.com

justinsingh83@ymail.com[/b][/i][/u]
Reply
#2

Really simple.

pawn Код:
if(!strcmp(cmdtext,"/chilliad",true))
{
   if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
   {
     new veh = GetPlayerVehicleID(playerid);
     SetVehiclePos(veh,-2401.9023,-1632.2725,521.2131);
     SetVehicleZAngle(veh,260.0);
     SetPlayerInterior(playerid,0);
     return 1;
   }
   else
   {
     SetPlayerPos(playerid,-2401.9023,-1632.2725,521.2131);
     SetPlayerFacingAngle(playerid,260.0);
     return 1;
   }
   return 1;
}
Reply
#3

i tryed this and it says pawno libary stop workin
Reply
#4

you don't have pawno's include
Reply
#5

You need #include <a_samp> at the top of your script.

Also, backwardsman97, you need LinkVehicleToInterior, otherwise you'll have an invisible car.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)