- 2,684
- 2,769
I want to make a Car Respawn.cs
How i can respawn the car like in this .cs:Wich RPC's i need...
Код:
:spawncar
0B35: samp 5@ = get_last_command_params
if 0AD4: 5@ = scan_string 5@ format "%d" 6@ //IF and SET
then
if 5@ >= 0
then
0B3D: raknet 1@ = new_bit_stream
0B40: raknet bit_stream 1@ write 6@ type BS_TYPE_INT size 4
0B41: raknet send_rpc RPC_VEHICLEDESTROYED bit_stream 1@ priority PRIORITY_HIGH reliability RELIABLE_SEQUENCED ordering_channel 0 shift_timestamp false
0B3E: raknet delete_bit_stream 1@
0AF8: samp add_message_to_chat "[hnnssy | CMDS] {EAEAEA}Будет зареспавнено ТС с ID {00CCFF}%d" 0x00CCFF 6@
end
end
0B43: cmd_ret