Author Topic: Need Cmds  (Read 4035 times)

0 Members and 1 Guest are viewing this topic.

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Need Cmds
« on: February 12, 2012, 04:55:22 pm »
hy guys i need /c getcar because Gups Getcar is bugged when i getcar the car it come when i sit on it and then getcar car again it not come plzzz give me
Storm City Owner

Stormcity.smfnew.com

Offline RasikhQadeer

  • Street Thug
  • *
  • Posts: 49
  • Hero_Great! The Great Scripter!
    • View Profile
Re: Need Cmds
« Reply #1 on: February 13, 2012, 12:42:43 pm »
Jimmy i dont have a solution for that a point to ponder is that it gets the car again and again till you dont sit in it soo i think you should creat a new function :

[pawn]public OnExitVehicle
{
   RespawnVehicle(GetPlayerVehiceID(playerid);
}[/pawn]

Not Tested Just Giving An Example!

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Need Cmds
« Reply #2 on: February 13, 2012, 10:15:20 pm »
Don't listen to Rasikh

[pawn]public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
          RespawnVehicle(vehicleid);
return 1;
}[/pawn]
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Re: Need Cmds
« Reply #3 on: February 13, 2012, 10:21:04 pm »
Shadow thanks for reply but when i use /c respawn bla bla and getcar again it will not come can u made a right cmd for getcar and mute plzzz
Storm City Owner

Stormcity.smfnew.com

Offline heekz.shadow

  • LU testers
  • Made Man
  • *
  • Posts: 249
    • View Profile
Re: Need Cmds
« Reply #4 on: February 13, 2012, 10:28:49 pm »
Uuh... Seems like PAWN doesn't support getting a car to you after you have been into it.. So it's a lost cause.
Code: [Select]
[20:23] <habi> later only i heard that lu chatbox is customizable. On my first visit, it appeared ugly.
[20:23] <habi> May be that also be the reason why lu has no players

Offline jimmy

  • Wiseguy
  • **
  • Posts: 94
    • View Profile
Re: Need Cmds
« Reply #5 on: February 13, 2012, 10:33:35 pm »
ok Thanks
Storm City Owner

Stormcity.smfnew.com

Offline SaFeeR

  • Street Thug
  • *
  • Posts: 37
  • Pawno Scripter
    • View Profile
    • PaK-ServeR Website
Re: Need Cmds
« Reply #6 on: March 15, 2012, 10:30:38 am »
Uuh... Seems like PAWN doesn't support getting a car to you after you have been into it.. So it's a lost cause.
Code: [Select]
public OnPlayerExitVehicle(playerid, vehicleid)
{
    RemovePlayerFromVehicle(playerid);
SetVehicleToRespawn(vehicleid);
return 1;
}
use this :)
If You Like My Scripting Like My Page