Rc helicopter
#10

Quote:
Originally Posted by QEW
Посмотреть сообщение
PHP код:
if (strcmp("/exit"cmdtexttrue10) == 0)
{
if(
GetPlayerVehicleID(playerid) == 465RemovePlayerFromVehicle(playerid);
return 
1;

почему вы здесь указываете не id транспорта а id модели транспорта?

PHP код:
if ( GetVehicleModelGetPlayerVehicleID(playerid) ) == 465 )
{
RemovePlayerFromVehicle(playerid); // но лучше узнавать позицию игрока (транспорта) и спавнить его рядом т.к. это RC транспорт.

Reply


Messages In This Thread
Rc helicopter - by QEW - 07.05.2013, 17:38
Re: Rc helicopter - by Stepashka - 07.05.2013, 19:42
Re: Rc helicopter - by QEW - 08.05.2013, 10:16
Re: Rc helicopter - by kamilot73 - 08.05.2013, 11:14
Re: Rc helicopter - by QEW - 08.05.2013, 11:35
Re: Rc helicopter - by stabker - 08.05.2013, 11:58
Re: Rc helicopter - by QEW - 08.05.2013, 12:14
Re: Rc helicopter - by stabker - 08.05.2013, 12:31
Re: Rc helicopter - by QEW - 08.05.2013, 12:33
Re: Rc helicopter - by [Saint] - 08.05.2013, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)