Problem
#4

Quote:
Originally Posted by endjuru
You nēed 98 Line?

Код:
 new state = GetPlayerState(playerid);
you forgot a "{"...
it should be:
Код:
i
 if (strcmp(cmdtext, "/mcr", true) == 0){

  new state = GetPlayerState(playerid);
  if(IsPlayerInAnyVehicle(playerid))  {
  if(state != PLAYER_STATE_DRIVER) {
  SendClientMessage(playerid,0xFF3333AA,"Only Driver");
  return 1;
  }
  new vehicleid = GetPlayerVehicleID(playerid);
  LinkVehicleToInterior(vehicleid,0);
  SetVehiclePos(vehicleid, 987.9366,2117.4451,10.8203);
  SetVehicleZAngle(vehicleid,0);
  SendClientMessage(playerid,0xC06432C6,"Welcome to Kikiz Baze!");
  }
  else  {
  SetPlayerInterior(playerid, 0);
  SetPlayerPos(playerid, 987.9366,2117.4451,10.8203);
  SendClientMessage(playerid,0xC06432C6,"Welcome to Kikiz Baze!");
  }
  return 1;
}
Reply


Messages In This Thread
Problem - by endjuru - 05.06.2010, 08:26
Re: Problem - by DJDhan - 05.06.2010, 08:37
Re: Problem - by endjuru - 05.06.2010, 09:15
Re: Problem - by Sascha - 05.06.2010, 09:41
Re: Problem - by Flashy - 05.06.2010, 10:00
Re: Problem - by endjuru - 05.06.2010, 10:03
Re: Problem - by MadeMan - 05.06.2010, 10:14
Re: Problem - by endjuru - 05.06.2010, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)