help me plzzz
#1

how can i callcar in interior and virual world?

PHP код:
if (strcmp("/GoToDrisa"cmdtexttrue10) == 0

if(!
IsPlayerXAdmin(playerid))return SendClientMessage(playerid,0xFF0000FF,"фчегд жаъ жойрд шч магойрйн"); 
if( 
GetPlayerState(playerid) == PLAYER_STATE_DRIVER 

SetVehiclePos(GetPlayerVehicleID(playerid), 2381.4929,1132.9126,34.2529 ); 
SetVehicleZAngle(GetPlayerVehicleID(playerid), 268.4467 ); 
SetPlayerTime(playerid,00,00); 
LinkVehicleToInterior(GetPlayerVehicleID(playerid), ); 
}else{ 
SetPlayerPos(playerid2381.4929,1132.9126,34.2529); 
SetPlayerFacingAngle(playerid268.4467); 
SetPlayerTime(playerid,10,00); 
ResetPlayerWeapons(playerid); 

SetPlayerVirtualWorld(playerid62); 
SetPlayerInterior(playerid,0); 
SendClientMessage(playerid0x00FF00FF"! дщъвшъ мажеш дфтймеъ гшйсд"); 
return 
1

Reply
#2

https://sampwiki.blast.hk/wiki/LinkVehicleToInterior

https://sampwiki.blast.hk/wiki/SetVehicleVirtualWorld
Reply
#3

I want to do I Istgr launch so down I could do a command to launch my car or do spawnc and launch a vehicle I want and connection to LinkVehicleToInterior I can set in OnGameModeInit () function all the vehicles in place to set up any new vehicle?
Reply
#4

help someone?
Reply
#5

PHP код:
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 62);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0); 
Reply
#6

use this
pawn Код:
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid, (the vw id,which is 62);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
so you can get the car spawned there
Reply
#7

Quote:
Originally Posted by amirab
Посмотреть сообщение
PHP код:
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 62);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0); 
Quote:
Originally Posted by Nurgle4
Посмотреть сообщение
use this
pawn Код:
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid, (the vw id,which is 62);
LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
so you can get the car spawned there
dont work
Reply
#8

help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)