Vehicle ID problem
#22

pawn Код:
if(!strcmp(cmdtext,"/Command",true)){
    new vehicleid=GetPlayerVehicleID(playerid);
    if(vehicleid){//The same as "If the player is in a vehicle"
        SetVehiclePos(vehicleid,x,y,z);
        //When a player in a vehicle teleports
    }
    else{
        SetPlayerPos(playerid,x,y,z);
        //When a player teleports
    }
    return 1;
}
Reply


Messages In This Thread
Vehicle ID problem - by knackworst - 20.10.2010, 13:27
Re: Vehicle ID problem - by Mean - 20.10.2010, 13:52
Re: Vehicle ID problem - by knackworst - 20.10.2010, 14:00
Re: Vehicle ID problem - by Sascha - 20.10.2010, 14:10
Re: Vehicle ID problem - by knackworst - 20.10.2010, 14:16
Re: Vehicle ID problem - by LarzI - 20.10.2010, 14:17
Re: Vehicle ID problem - by knackworst - 20.10.2010, 14:28
Re: Vehicle ID problem - by LarzI - 20.10.2010, 14:39
Re: Vehicle ID problem - by knackworst - 20.10.2010, 14:42
Re: Vehicle ID problem - by LarzI - 20.10.2010, 14:43
Re: Vehicle ID problem - by randomkid88 - 20.10.2010, 14:47
Re: Vehicle ID problem - by knackworst - 20.10.2010, 14:53
Re: Vehicle ID problem - by LarzI - 20.10.2010, 14:54
Re: Vehicle ID problem - by knackworst - 20.10.2010, 14:55
Re: Vehicle ID problem - by randomkid88 - 20.10.2010, 14:57
Re: Vehicle ID problem - by knackworst - 20.10.2010, 15:00
Re: Vehicle ID problem - by randomkid88 - 20.10.2010, 15:02
Re: Vehicle ID problem - by knackworst - 20.10.2010, 15:03
Re: Vehicle ID problem - by randomkid88 - 20.10.2010, 15:05
Re: Vehicle ID problem - by knackworst - 20.10.2010, 15:07
Re: Vehicle ID problem - by randomkid88 - 20.10.2010, 15:16
Re: Vehicle ID problem - by Badger(new) - 20.10.2010, 15:23
Re: Vehicle ID problem - by knackworst - 20.10.2010, 16:00

Forum Jump:


Users browsing this thread: 2 Guest(s)