Commands stopped working!
#1

Hello!
Well I am new to scripting and i made a teleport there is the script


pawn Code:
//Teleports
if(!strcmp(cmdtext, "/lspd", true)==0)
{
  if(IsPlayerInAnyVehicle(playerid))
  {
    SetVehiclePos(GetPlayerVehicleID(playerid), 1539.2361,-1690.5590,13.5469);
  }
  else
  {
    SetPlayerPos(playerid, 1547.6527,-1675.9519,14.1797);
  }
  SendClientMessage(playerid, 0x000000FF, "You have travelled to LSPD.");
  return 1;
}

//End Teleports

                if(strcmp(cmdtext,"/pd",true)==0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    new State = GetPlayerState(playerid);
    if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
    {
    LinkVehicleToInterior(vehicleid,0);
    SetPlayerInterior(playerid,0) ;
    return SetVehiclePos(vehicleid,1539.2361,-1690.5590,13.5469);
    }
    SetPlayerPos(playerid,1547.6527,-1675.9519,14.1797);
    SetPlayerInterior(playerid,0);
    return 1;
    }
And it worked in the begining but now it has just stopped another thing is i cant add admin house scripts. My server thing says it loaded the script but the houses are never there. What is going wrong? I am using v-admin and LSPD gates
Reply


Messages In This Thread
Commands stopped working! - by narutogeek11 - 04.02.2009, 20:17
Re: Commands stopped working! - by Mikep - 04.02.2009, 20:24
Re: Commands stopped working! - by ShizNator - 04.02.2009, 21:27
Re: Commands stopped working! - by narutogeek11 - 06.02.2009, 00:47
Re: Commands stopped working! - by Auto-Sized - 06.02.2009, 01:05
Re: Commands stopped working! - by Joe Staff - 06.02.2009, 02:56
Re: Commands stopped working! - by narutogeek11 - 06.02.2009, 08:04
Re: Commands stopped working! - by Auto-Sized - 06.02.2009, 10:46
Re: Commands stopped working! - by narutogeek11 - 06.02.2009, 15:21
Re: Commands stopped working! - by narutogeek11 - 06.02.2009, 15:25
Re: Commands stopped working! - by kaisersouse - 06.02.2009, 15:57
Re: Commands stopped working! - by Mikep - 06.02.2009, 16:15
Re: Commands stopped working! - by kc - 06.02.2009, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)