-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
1509 lines (1508 loc) · 166 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/** Official generated by SandtableEngine (d.ts) */
/** Website: https://sengine.mp-gamer.com/ */
/** generated time: 2023.11.27 */
/** (The declaration file may be updated periodically) */
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#isservermode](https://sengine.mp-gamer.com/scripting/native/main#isservermode) */
declare static function IsServerMode(): bool;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getversioninfo](https://sengine.mp-gamer.com/scripting/native/main#getversioninfo) */
declare static function GetVersionInfo(): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getenginetickcount](https://sengine.mp-gamer.com/scripting/native/main#getenginetickcount) */
declare static function GetEngineTickCount(): float;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getmodtickcount](https://sengine.mp-gamer.com/scripting/native/main#getmodtickcount) */
declare static function GetModTickCount(): float;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getdatetime](https://sengine.mp-gamer.com/scripting/native/main#getdatetime) */
declare static function GetDateTime(): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#gettimestamp](https://sengine.mp-gamer.com/scripting/native/main#gettimestamp) */
declare static function GetTimestamp(): Int64;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getsysteminfo](https://sengine.mp-gamer.com/scripting/native/main#getsysteminfo) */
declare static function GetSystemInfo(): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getmodarchive](https://sengine.mp-gamer.com/scripting/native/main#getmodarchive) */
declare static function GetModArchive(mod: string = null): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getsaveitem](https://sengine.mp-gamer.com/scripting/native/main#getsaveitem) */
declare static function GetSaveItem(key: string, slot: int = 0, defaultValue: any = null): any;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#existsaveitem](https://sengine.mp-gamer.com/scripting/native/main#existsaveitem) */
declare static function ExistSaveItem(key: string, slot: int = 0): bool;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#existsavedata](https://sengine.mp-gamer.com/scripting/native/main#existsavedata) */
declare static function ExistSaveData(slot: int = 0): bool;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getscriptname](https://sengine.mp-gamer.com/scripting/native/main#getscriptname) */
declare static function GetScriptName(): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getmapname](https://sengine.mp-gamer.com/scripting/native/main#getmapname) */
declare static function GetMapName(): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getmapcount](https://sengine.mp-gamer.com/scripting/native/main#getmapcount) */
declare static function GetMapCount(filter: int = 0): int;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getmapbyindex](https://sengine.mp-gamer.com/scripting/native/main#getmapbyindex) */
declare static function GetMapByIndex(index: int, filter: int = 0): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#quitgame](https://sengine.mp-gamer.com/scripting/native/main#quitgame) */
declare static function QuitGame(): void;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#createhost](https://sengine.mp-gamer.com/scripting/native/main#createhost) */
declare static function CreateHost(map: string, script: string, port: int = 0, address: string = "", userData: string = "", additional: bool = true): bool;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#connecthost](https://sengine.mp-gamer.com/scripting/native/main#connecthost) */
declare static function ConnectHost(address: string, port: int = 0, password: string = "", userData: string = ""): void;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#disconnect](https://sengine.mp-gamer.com/scripting/native/main#disconnect) */
declare static function Disconnect(): void;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#reconnect](https://sengine.mp-gamer.com/scripting/native/main#reconnect) */
declare static function Reconnect(): void;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#unloadmod](https://sengine.mp-gamer.com/scripting/native/main#unloadmod) */
declare static function UnloadMod(): void;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#distancepoint](https://sengine.mp-gamer.com/scripting/native/main#distancepoint) */
declare static function DistancePoint(pos1: Vector, pos2: Vector): float;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#inpoly](https://sengine.mp-gamer.com/scripting/native/main#inpoly) */
declare static function InPoly(p: Vector, p1: Vector, p2: Vector, p3: Vector, p4: Vector = null, p5: Vector = null, p6: Vector = null, p7: Vector = null, p8: Vector = null): bool;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getlanguage](https://sengine.mp-gamer.com/scripting/native/main#getlanguage) */
declare static function GetLanguage(): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getlanguagetext](https://sengine.mp-gamer.com/scripting/native/main#getlanguagetext) */
declare static function GetLanguageText(key: string, index: int = 0, values: String[]): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getlanguagetext](https://sengine.mp-gamer.com/scripting/native/main#getlanguagetext) */
declare static function GetLanguageText(key: string, values: String[]): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#_language](https://sengine.mp-gamer.com/scripting/native/main#_language) */
declare static function _Language(key: string, index: int = 0, values: String[]): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#_language](https://sengine.mp-gamer.com/scripting/native/main#_language) */
declare static function _Language(key: string, values: String[]): string;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getvectorpointcount](https://sengine.mp-gamer.com/scripting/native/main#getvectorpointcount) */
declare static function GetVectorPointCount(tag: string = ""): int;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#getvectorpoint](https://sengine.mp-gamer.com/scripting/native/main#getvectorpoint) */
declare static function GetVectorPoint(tag: string, index: int = 0): WorldVectorPoint;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#addvectorpoint](https://sengine.mp-gamer.com/scripting/native/main#addvectorpoint) */
declare static function AddVectorPoint(tag: string, pos: Vector, angle: Vector = null, scale: Vector = null): WorldVectorPoint;
/** **(Public Method) >> Native/Main** [https://sengine.mp-gamer.com/scripting/native/main#removevectorpoint](https://sengine.mp-gamer.com/scripting/native/main#removevectorpoint) */
declare static function RemoveVectorPoint(tag: string = ""): void;
/** **(Static Method) >> DataType** [https://sengine.mp-gamer.com/scripting/datatype#vector](https://sengine.mp-gamer.com/scripting/datatype#vector) */
declare static function Vector(x: float, y: float, z: float): Vector;
/** **(Static Method) >> DataType** [https://sengine.mp-gamer.com/scripting/datatype#vector2](https://sengine.mp-gamer.com/scripting/datatype#vector2) */
declare static function Vector2(x: float, y: float): Vector;
/** **(Static Method) >> DataType** [https://sengine.mp-gamer.com/scripting/datatype#color](https://sengine.mp-gamer.com/scripting/datatype#color) */
declare static function Color(r: byte, g: byte, b: byte, a: byte = byte): Color;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setglobalvars](https://sengine.mp-gamer.com/scripting/world/main#setglobalvars) */
declare static function SetGlobalVars(name: string, vars: any): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getglobalvars](https://sengine.mp-gamer.com/scripting/world/main#getglobalvars) */
declare static function GetGlobalVars(name: string): any;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#dlog](https://sengine.mp-gamer.com/scripting/world/main#dlog) */
declare static function DLog(log: any): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#dwarn](https://sengine.mp-gamer.com/scripting/world/main#dwarn) */
declare static function DWarn(log: any): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#derror](https://sengine.mp-gamer.com/scripting/world/main#derror) */
declare static function DError(log: any): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#exec](https://sengine.mp-gamer.com/scripting/world/main#exec) */
declare static function Exec(exec: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#loadscript](https://sengine.mp-gamer.com/scripting/world/main#loadscript) */
declare static function LoadScript(localPath: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#sethostname](https://sengine.mp-gamer.com/scripting/world/main#sethostname) */
declare static function SetHostName(name: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#gethostname](https://sengine.mp-gamer.com/scripting/world/main#gethostname) */
declare static function GetHostName(): string;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setpassword](https://sengine.mp-gamer.com/scripting/world/main#setpassword) */
declare static function SetPassword(password: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getpassword](https://sengine.mp-gamer.com/scripting/world/main#getpassword) */
declare static function GetPassword(): string;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setmaxplayers](https://sengine.mp-gamer.com/scripting/world/main#setmaxplayers) */
declare static function SetMaxPlayers(number: int): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getmaxplayers](https://sengine.mp-gamer.com/scripting/world/main#getmaxplayers) */
declare static function GetMaxPlayers(): int;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#settime](https://sengine.mp-gamer.com/scripting/world/main#settime) */
declare static function SetTime(hour: int, minute: int): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#gettime](https://sengine.mp-gamer.com/scripting/world/main#gettime) */
declare static function GetTime(): WorldTime;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setweather](https://sengine.mp-gamer.com/scripting/world/main#setweather) */
declare static function SetWeather(weather: int): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getweather](https://sengine.mp-gamer.com/scripting/world/main#getweather) */
declare static function GetWeather(): int;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getrandomweather](https://sengine.mp-gamer.com/scripting/world/main#getrandomweather) */
declare static function GetRandomWeather(): int;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setgravity](https://sengine.mp-gamer.com/scripting/world/main#setgravity) */
declare static function SetGravity(space: Vector): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getgravity](https://sengine.mp-gamer.com/scripting/world/main#getgravity) */
declare static function GetGravity(): Vector;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setworldcolor](https://sengine.mp-gamer.com/scripting/world/main#setworldcolor) */
declare static function SetWorldColor(color: Color): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getworldcolor](https://sengine.mp-gamer.com/scripting/world/main#getworldcolor) */
declare static function GetWorldColor(): Color;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setgamerule](https://sengine.mp-gamer.com/scripting/world/main#setgamerule) */
declare static function SetGameRule(key: string, value: any): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#resetgamerule](https://sengine.mp-gamer.com/scripting/world/main#resetgamerule) */
declare static function ResetGameRule(key: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#resetallgamerules](https://sengine.mp-gamer.com/scripting/world/main#resetallgamerules) */
declare static function ResetAllGameRules(): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getgamerule](https://sengine.mp-gamer.com/scripting/world/main#getgamerule) */
declare static function GetGameRule(key: string, defaultValue: any = null): any;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#getservertickcount](https://sengine.mp-gamer.com/scripting/world/main#getservertickcount) */
declare static function GetServerTickCount(): float;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#message](https://sengine.mp-gamer.com/scripting/world/main#message) */
declare static function Message(text: any): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#announce](https://sengine.mp-gamer.com/scripting/world/main#announce) */
declare static function Announce(text: any, type: int = 0, time: float = 6): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#subtitle](https://sengine.mp-gamer.com/scripting/world/main#subtitle) */
declare static function Subtitle(text: any): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#raytrace](https://sengine.mp-gamer.com/scripting/world/main#raytrace) */
declare static function RayTrace(start: Vector, over: Vector, flags: int = 0): RayTraceResult;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#createdamage](https://sengine.mp-gamer.com/scripting/world/main#createdamage) */
declare static function CreateDamage(pos: Vector, damage: int, radius: float, from: Entity = null, damageType: int = 1, ignoreSelf: bool = false): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#createexplosion](https://sengine.mp-gamer.com/scripting/world/main#createexplosion) */
declare static function CreateExplosion(pos: Vector, type: int = 0): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#createexplosionforce](https://sengine.mp-gamer.com/scripting/world/main#createexplosionforce) */
declare static function CreateExplosionForce(pos: Vector, force: float, radius: float): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#createraypowercast](https://sengine.mp-gamer.com/scripting/world/main#createraypowercast) */
declare static function CreateRayPowerCast(start: Vector, over: Vector, color: Color, width: float = 0.2, time: float = 0.1): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#overlapentity](https://sengine.mp-gamer.com/scripting/world/main#overlapentity) */
declare static function OverlapEntity(pos: Vector, radius: float, filter: int = 0): int;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#overlapentitybyindex](https://sengine.mp-gamer.com/scripting/world/main#overlapentitybyindex) */
declare static function OverlapEntityByIndex(index: int): Entity;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#playsoundforall](https://sengine.mp-gamer.com/scripting/world/main#playsoundforall) */
declare static function PlaySoundForAll(audioID: int, loop: bool = false, volume: float = 1): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#play3dsoundforall](https://sengine.mp-gamer.com/scripting/world/main#play3dsoundforall) */
declare static function Play3DSoundForAll(audioID: int, pos: Vector, radius: float = 80, loop: bool = false, volume: float = 1): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#playsound](https://sengine.mp-gamer.com/scripting/world/main#playsound) */
declare static function PlaySound(audioID: int, loop: bool = false, volume: float = 1): string;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#play3dsound](https://sengine.mp-gamer.com/scripting/world/main#play3dsound) */
declare static function Play3DSound(audioID: int, pos: Vector, radius: float = 80, loop: bool = false, volume: float = 1): string;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#stopsound](https://sengine.mp-gamer.com/scripting/world/main#stopsound) */
declare static function StopSound(uuid: string): bool;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#pausesound](https://sengine.mp-gamer.com/scripting/world/main#pausesound) */
declare static function PauseSound(uuid: string): bool;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#resumesound](https://sengine.mp-gamer.com/scripting/world/main#resumesound) */
declare static function ResumeSound(uuid: string): bool;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setsoundworld](https://sengine.mp-gamer.com/scripting/world/main#setsoundworld) */
declare static function SetSoundWorld(uuid: string, world: int): bool;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#bindkey](https://sengine.mp-gamer.com/scripting/world/main#bindkey) */
declare static function BindKey(keyTag: string, key1: int, key2: int = 0, key3: int = 0): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#bindkey](https://sengine.mp-gamer.com/scripting/world/main#bindkey) */
declare static function BindKey(keyTag: string, key1: int, key2: int = 0, key3: int = 0): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#bindkey](https://sengine.mp-gamer.com/scripting/world/main#bindkey) */
declare static function BindKey(keyTag: string, key1: string, key2: string = None, key3: string = None): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#unbindkey](https://sengine.mp-gamer.com/scripting/world/main#unbindkey) */
declare static function UnbindKey(keyTag: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#unbindallkey](https://sengine.mp-gamer.com/scripting/world/main#unbindallkey) */
declare static function UnbindAllKey(): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#bindnativekey](https://sengine.mp-gamer.com/scripting/world/main#bindnativekey) */
declare static function BindNativeKey(keyTag: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#unbindnativekey](https://sengine.mp-gamer.com/scripting/world/main#unbindnativekey) */
declare static function UnbindNativeKey(keyTag: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#unbindallnativekey](https://sengine.mp-gamer.com/scripting/world/main#unbindallnativekey) */
declare static function UnbindAllNativeKey(): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#writefile](https://sengine.mp-gamer.com/scripting/world/main#writefile) */
declare static function WriteFile(localPath: string, content: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#readfile](https://sengine.mp-gamer.com/scripting/world/main#readfile) */
declare static function ReadFile(localPath: string): string;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setmodarchive](https://sengine.mp-gamer.com/scripting/world/main#setmodarchive) */
declare static function SetModArchive(content: string): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#setsaveitem](https://sengine.mp-gamer.com/scripting/world/main#setsaveitem) */
declare static function SetSaveItem(key: string, value: any, slot: int = 0): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#removesaveitem](https://sengine.mp-gamer.com/scripting/world/main#removesaveitem) */
declare static function RemoveSaveItem(key: string, slot: int = 0): void;
/** **(Public Method) >> World/Main** [https://sengine.mp-gamer.com/scripting/world/main#deletesavedata](https://sengine.mp-gamer.com/scripting/world/main#deletesavedata) */
declare static function DeleteSaveData(slot: int = 0): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setglobalvars](https://sengine.mp-gamer.com/scripting/client/main#setglobalvars) */
declare static function SetGlobalVars(name: string, vars: any): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#getglobalvars](https://sengine.mp-gamer.com/scripting/client/main#getglobalvars) */
declare static function GetGlobalVars(name: string): any;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#dlog](https://sengine.mp-gamer.com/scripting/client/main#dlog) */
declare static function DLog(log: any): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#dwarn](https://sengine.mp-gamer.com/scripting/client/main#dwarn) */
declare static function DWarn(log: any): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#derror](https://sengine.mp-gamer.com/scripting/client/main#derror) */
declare static function DError(log: any): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#exec](https://sengine.mp-gamer.com/scripting/client/main#exec) */
declare static function Exec(code: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#loadscript](https://sengine.mp-gamer.com/scripting/client/main#loadscript) */
declare static function LoadScript(localPath: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#openurl](https://sengine.mp-gamer.com/scripting/client/main#openurl) */
declare static function OpenUrl(url: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#createnativeview](https://sengine.mp-gamer.com/scripting/client/main#createnativeview) */
declare static function CreateNativeView(type: int, onDisable: Action = null): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#existnativeview](https://sengine.mp-gamer.com/scripting/client/main#existnativeview) */
declare static function ExistNativeView(type: int): bool;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#destroynativeview](https://sengine.mp-gamer.com/scripting/client/main#destroynativeview) */
declare static function DestroyNativeView(type: int = -1, hasEffect: bool = true): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#createnativemenu](https://sengine.mp-gamer.com/scripting/client/main#createnativemenu) */
declare static function CreateNativeMenu(data: any): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#destroynativemenu](https://sengine.mp-gamer.com/scripting/client/main#destroynativemenu) */
declare static function DestroyNativeMenu(): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setnativemenutext](https://sengine.mp-gamer.com/scripting/client/main#setnativemenutext) */
declare static function SetNativeMenuText(index: int, text: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setnativemenutext](https://sengine.mp-gamer.com/scripting/client/main#setnativemenutext) */
declare static function SetNativeMenuText(tag: string, text: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#findnativemenuindex](https://sengine.mp-gamer.com/scripting/client/main#findnativemenuindex) */
declare static function FindNativeMenuIndex(tag: string): int;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#loadnativescene](https://sengine.mp-gamer.com/scripting/client/main#loadnativescene) */
declare static function LoadNativeScene(type: int): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#senddatatoserver](https://sengine.mp-gamer.com/scripting/client/main#senddatatoserver) */
declare static function SendDataToServer(number: float, data: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setchatenabled](https://sengine.mp-gamer.com/scripting/client/main#setchatenabled) */
declare static function SetChatEnabled(active: bool): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#overlapentity](https://sengine.mp-gamer.com/scripting/client/main#overlapentity) */
declare static function OverlapEntity(pos: Vector, radius: float, filter: int = 0): int;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#overlapentitybyindex](https://sengine.mp-gamer.com/scripting/client/main#overlapentitybyindex) */
declare static function OverlapEntityByIndex(index: int): Entity;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#bindkey](https://sengine.mp-gamer.com/scripting/client/main#bindkey) */
declare static function BindKey(keyTag: string, key1: int, key2: int = 0, key3: int = 0): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#bindkey](https://sengine.mp-gamer.com/scripting/client/main#bindkey) */
declare static function BindKey(keyTag: string, key1: int, key2: int = 0, key3: int = 0): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#bindkey](https://sengine.mp-gamer.com/scripting/client/main#bindkey) */
declare static function BindKey(keyTag: string, key1: string, key2: string = None, key3: string = None): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#unbindkey](https://sengine.mp-gamer.com/scripting/client/main#unbindkey) */
declare static function UnbindKey(keyTag: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#unbindallkey](https://sengine.mp-gamer.com/scripting/client/main#unbindallkey) */
declare static function UnbindAllKey(): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#bindnativekey](https://sengine.mp-gamer.com/scripting/client/main#bindnativekey) */
declare static function BindNativeKey(keyTag: string, key1: int, key2: int = 0, key3: int = 0): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#bindnativekey](https://sengine.mp-gamer.com/scripting/client/main#bindnativekey) */
declare static function BindNativeKey(keyTag: string, key1: int, key2: int = 0, key3: int = 0): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#bindnativekey](https://sengine.mp-gamer.com/scripting/client/main#bindnativekey) */
declare static function BindNativeKey(keyTag: string, key1: string, key2: string = None, key3: string = None): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setgameoption](https://sengine.mp-gamer.com/scripting/client/main#setgameoption) */
declare static function SetGameOption(keyPath: string, value: any = null, isPublic: bool = false, publicParam: any = null): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#getgameoption](https://sengine.mp-gamer.com/scripting/client/main#getgameoption) */
declare static function GetGameOption(keyPath: string, defaultValue: any = null): any;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#message](https://sengine.mp-gamer.com/scripting/client/main#message) */
declare static function Message(text: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#announce](https://sengine.mp-gamer.com/scripting/client/main#announce) */
declare static function Announce(text: string, type: int = 0, time: float = 6): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#subtitle](https://sengine.mp-gamer.com/scripting/client/main#subtitle) */
declare static function Subtitle(text: string): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#screenfade](https://sengine.mp-gamer.com/scripting/client/main#screenfade) */
declare static function ScreenFade(time: float, middleTime: float, color: Color = null, onMiddle: Action = null, ignoreHit: bool = true): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#screenfadein](https://sengine.mp-gamer.com/scripting/client/main#screenfadein) */
declare static function ScreenFadeIn(time: float, color: Color = null, onComplete: Action = null, ignoreHit: bool = true): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#screenfadeout](https://sengine.mp-gamer.com/scripting/client/main#screenfadeout) */
declare static function ScreenFadeOut(time: float, color: Color = null, onComplete: Action = null, ignoreHit: bool = true): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#transition](https://sengine.mp-gamer.com/scripting/client/main#transition) */
declare static function Transition(index: int, addTime: float = 0, color: Color = null, action: Action = null, isOut: bool = false): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setcursor](https://sengine.mp-gamer.com/scripting/client/main#setcursor) */
declare static function SetCursor(cursor: int): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#getcursor](https://sengine.mp-gamer.com/scripting/client/main#getcursor) */
declare static function GetCursor(): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setmodarchive](https://sengine.mp-gamer.com/scripting/client/main#setmodarchive) */
declare static function SetModArchive(content: string = null): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#writefile](https://sengine.mp-gamer.com/scripting/client/main#writefile) */
declare static function WriteFile(localPath: string = null, content: string = null): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setsavedata](https://sengine.mp-gamer.com/scripting/client/main#setsavedata) */
declare static function SetSaveData(key: string = null, value: any = null, slot: int = 0): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#readfile](https://sengine.mp-gamer.com/scripting/client/main#readfile) */
declare static function ReadFile(localPath: string): string;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#lockgamemenu](https://sengine.mp-gamer.com/scripting/client/main#lockgamemenu) */
declare static function LockGameMenu(index: int, mainTitle: string, childTitle: string, callback: Action): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#unlockgamemenu](https://sengine.mp-gamer.com/scripting/client/main#unlockgamemenu) */
declare static function UnlockGameMenu(index: int = -1): void;
/** **(Public Method) >> Client/Main** [https://sengine.mp-gamer.com/scripting/client/main#setgamemenubgeffect](https://sengine.mp-gamer.com/scripting/client/main#setgamemenubgeffect) */
declare static function SetGameMenuBGEffect(active: bool): void;
/** **(Namespace) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard](https://sengine.mp-gamer.com/scripting/world/billboard) */
declare namespace Billboard {
/** **(Static Method) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard#billboardcreate](https://sengine.mp-gamer.com/scripting/world/billboard#billboardcreate) */
declare static function Create(type: int, pos: Vector = null, streamPlayer: Player = null): Billboard;
/** **(Static Method) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard#billboardcreatetips](https://sengine.mp-gamer.com/scripting/world/billboard#billboardcreatetips) */
declare static function CreateTips(text: string, pos: Vector, time: float = 3, scale: float = 1, hasBG: bool = true, hasRotate: bool = true): void;
/** **(Static Method) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard#billboardcreatespritebubble](https://sengine.mp-gamer.com/scripting/world/billboard#billboardcreatespritebubble) */
declare static function CreateSpriteBubble(texture: int, pos: Vector, time: float = 3, scale: float = 1, hasBG: bool = true, hasRotate: bool = true): void;
/** **(Static Method) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard#billboardfind](https://sengine.mp-gamer.com/scripting/world/billboard#billboardfind) */
declare static function Find(id: int): Billboard;
/** **(Static Method) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard#billboardfindbyuuid](https://sengine.mp-gamer.com/scripting/world/billboard#billboardfindbyuuid) */
declare static function FindByUUID(uuid: string): Billboard;
/** **(Static Method) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard#billboardgetcount](https://sengine.mp-gamer.com/scripting/world/billboard#billboardgetcount) */
declare static function GetCount(): int;
/** **(Static Method) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard#billboardget](https://sengine.mp-gamer.com/scripting/world/billboard#billboardget) */
declare static function Get(index: int): Billboard;
}
/** **(Class) >> World/Billboard** */
declare class Billboard {
/** **(Public Method) >> World/Billboard** [https://sengine.mp-gamer.com/scripting/world/billboard#billboardremove](https://sengine.mp-gamer.com/scripting/world/billboard#billboardremove) */
Remove(): void;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardinstance](https://sengine.mp-gamer.com/scripting/world/billboard#billboardinstance) */
Instance: CBillboard;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardid](https://sengine.mp-gamer.com/scripting/world/billboard#billboardid) */
ID: int;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboarduuid](https://sengine.mp-gamer.com/scripting/world/billboard#billboarduuid) */
UUID: string;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardworld](https://sengine.mp-gamer.com/scripting/world/billboard#billboardworld) */
World: int;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardpos](https://sengine.mp-gamer.com/scripting/world/billboard#billboardpos) */
Pos: Vector;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardtype](https://sengine.mp-gamer.com/scripting/world/billboard#billboardtype) */
Type: int;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardcolor](https://sengine.mp-gamer.com/scripting/world/billboard#billboardcolor) */
Color: Color;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardalpha](https://sengine.mp-gamer.com/scripting/world/billboard#billboardalpha) */
Alpha: int;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardscale](https://sengine.mp-gamer.com/scripting/world/billboard#billboardscale) */
Scale: float;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardbaffle](https://sengine.mp-gamer.com/scripting/world/billboard#billboardbaffle) */
Baffle: bool;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardcollision](https://sengine.mp-gamer.com/scripting/world/billboard#billboardcollision) */
Collision: bool;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardtarget](https://sengine.mp-gamer.com/scripting/world/billboard#billboardtarget) */
Target: Entity;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardoffset](https://sengine.mp-gamer.com/scripting/world/billboard#billboardoffset) */
Offset: Vector;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardsprite](https://sengine.mp-gamer.com/scripting/world/billboard#billboardsprite) */
Sprite: int;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardtext](https://sengine.mp-gamer.com/scripting/world/billboard#billboardtext) */
Text: string;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardprogresstype](https://sengine.mp-gamer.com/scripting/world/billboard#billboardprogresstype) */
ProgressType: int;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardprogress](https://sengine.mp-gamer.com/scripting/world/billboard#billboardprogress) */
Progress: float;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardmaxprogress](https://sengine.mp-gamer.com/scripting/world/billboard#billboardmaxprogress) */
MaxProgress: float;
/** (Property) >> World/Billboard [https://sengine.mp-gamer.com/scripting/world/billboard#billboardlocalinstance](https://sengine.mp-gamer.com/scripting/world/billboard#billboardlocalinstance) */
LocalInstance: CInstance;
}
/** **(Namespace) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity](https://sengine.mp-gamer.com/scripting/world/entity) */
declare namespace Entity {
}
/** **(Class) >> World/Entity** */
declare class Entity {
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entityisvalid](https://sengine.mp-gamer.com/scripting/world/entity#entityisvalid) */
IsValid(): bool;
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entitygettype](https://sengine.mp-gamer.com/scripting/world/entity#entitygettype) */
GetType(): string;
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entitygetinstance](https://sengine.mp-gamer.com/scripting/world/entity#entitygetinstance) */
GetInstance(): any;
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entityoutlinetargetto](https://sengine.mp-gamer.com/scripting/world/entity#entityoutlinetargetto) */
OutlineTargetTo(player: Player, color: int = 0): void;
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entityoutlinetargetout](https://sengine.mp-gamer.com/scripting/world/entity#entityoutlinetargetout) */
OutlineTargetOut(player: Player): void;
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entityoutlinetargetoutall](https://sengine.mp-gamer.com/scripting/world/entity#entityoutlinetargetoutall) */
OutlineTargetOutAll(): void;
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entitygetoutlinetargetcolor](https://sengine.mp-gamer.com/scripting/world/entity#entitygetoutlinetargetcolor) */
GetOutlineTargetColor(player: Player): int;
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entityissamegroup](https://sengine.mp-gamer.com/scripting/world/entity#entityissamegroup) */
IsSameGroup(entity: Entity, isForce: bool = true): bool;
/** **(Public Method) >> World/Entity** [https://sengine.mp-gamer.com/scripting/world/entity#entityissamegroup](https://sengine.mp-gamer.com/scripting/world/entity#entityissamegroup) */
IsSameGroup(group: int, isForce: bool = true): bool;
/** (Property) >> World/Entity [https://sengine.mp-gamer.com/scripting/world/entity#entityentityinstance](https://sengine.mp-gamer.com/scripting/world/entity#entityentityinstance) */
EntityInstance: CEntity;
/** (Property) >> World/Entity [https://sengine.mp-gamer.com/scripting/world/entity#entityanydata](https://sengine.mp-gamer.com/scripting/world/entity#entityanydata) */
AnyData: any;
/** (Property) >> World/Entity [https://sengine.mp-gamer.com/scripting/world/entity#entityuniqueid](https://sengine.mp-gamer.com/scripting/world/entity#entityuniqueid) */
UniqueID: int;
/** (Property) >> World/Entity [https://sengine.mp-gamer.com/scripting/world/entity#entitytag](https://sengine.mp-gamer.com/scripting/world/entity#entitytag) */
Tag: string;
/** (Property) >> World/Entity [https://sengine.mp-gamer.com/scripting/world/entity#entityoutline](https://sengine.mp-gamer.com/scripting/world/entity#entityoutline) */
Outline: bool;
/** (Property) >> World/Entity [https://sengine.mp-gamer.com/scripting/world/entity#entityoutlinecolor](https://sengine.mp-gamer.com/scripting/world/entity#entityoutlinecolor) */
OutlineColor: int;
/** **(Public Method) >> Client/Entity** [https://sengine.mp-gamer.com/scripting/client/entity#entityisvalid](https://sengine.mp-gamer.com/scripting/client/entity#entityisvalid) */
IsValid(): bool;
/** **(Public Method) >> Client/Entity** [https://sengine.mp-gamer.com/scripting/client/entity#entitygettype](https://sengine.mp-gamer.com/scripting/client/entity#entitygettype) */
GetType(): string;
/** **(Public Method) >> Client/Entity** [https://sengine.mp-gamer.com/scripting/client/entity#entitygetinstance](https://sengine.mp-gamer.com/scripting/client/entity#entitygetinstance) */
GetInstance(): any;
/** **(Public Method) >> Client/Entity** [https://sengine.mp-gamer.com/scripting/client/entity#entitydispose](https://sengine.mp-gamer.com/scripting/client/entity#entitydispose) */
Dispose(): void;
/** (Property) >> Client/Entity [https://sengine.mp-gamer.com/scripting/client/entity#entityentityinstance](https://sengine.mp-gamer.com/scripting/client/entity#entityentityinstance) */
EntityInstance: CEntity;
}
/** **(Namespace) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player](https://sengine.mp-gamer.com/scripting/world/player) */
declare namespace Player {
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayerjoin](https://sengine.mp-gamer.com/scripting/world/player#playeronplayerjoin) */
declare static function OnPlayerJoin(player: Player): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayercomplete](https://sengine.mp-gamer.com/scripting/world/player#playeronplayercomplete) */
declare static function OnPlayerComplete(player: Player): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayerpart](https://sengine.mp-gamer.com/scripting/world/player#playeronplayerpart) */
declare static function OnPlayerPart(player: Player, reason: int): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayerchat](https://sengine.mp-gamer.com/scripting/world/player#playeronplayerchat) */
declare static function OnPlayerChat(player: Player, text: string): bool;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayerstreamdata](https://sengine.mp-gamer.com/scripting/world/player#playeronplayerstreamdata) */
declare static function OnPlayerStreamData(player: Player, number: float, data: string): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayercommand](https://sengine.mp-gamer.com/scripting/world/player#playeronplayercommand) */
declare static function OnPlayerCommand(player: Player, cmd: string, arg: string): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayertypingchange](https://sengine.mp-gamer.com/scripting/world/player#playeronplayertypingchange) */
declare static function OnPlayerTypingChange(player: Player, state: bool): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayerentitylogin](https://sengine.mp-gamer.com/scripting/world/player#playeronplayerentitylogin) */
declare static function OnPlayerEntityLogin(player: Player, entity: Character): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayerentitylogout](https://sengine.mp-gamer.com/scripting/world/player#playeronplayerentitylogout) */
declare static function OnPlayerEntityLogout(player: Player, entity: Character): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayerkeydown](https://sengine.mp-gamer.com/scripting/world/player#playeronplayerkeydown) */
declare static function OnPlayerKeyDown(player: Player, keyTag: string): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayerkeyup](https://sengine.mp-gamer.com/scripting/world/player#playeronplayerkeyup) */
declare static function OnPlayerKeyUp(player: Player, keyTag: string): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayernativekeydown](https://sengine.mp-gamer.com/scripting/world/player#playeronplayernativekeydown) */
declare static function OnPlayerNativeKeyDown(player: Player, keyTag: string): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeronplayernativekeyup](https://sengine.mp-gamer.com/scripting/world/player#playeronplayernativekeyup) */
declare static function OnPlayerNativeKeyUp(player: Player, keyTag: string): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerfind](https://sengine.mp-gamer.com/scripting/world/player#playerfind) */
declare static function Find(id: int): Player;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersearch](https://sengine.mp-gamer.com/scripting/world/player#playersearch) */
declare static function Search(any: string): Player;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerfindbyuuid](https://sengine.mp-gamer.com/scripting/world/player#playerfindbyuuid) */
declare static function FindByUUID(uuid: string): Player;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playergetcount](https://sengine.mp-gamer.com/scripting/world/player#playergetcount) */
declare static function GetCount(): int;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerget](https://sengine.mp-gamer.com/scripting/world/player#playerget) */
declare static function Get(index: int): Player;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerunban](https://sengine.mp-gamer.com/scripting/world/player#playerunban) */
declare static function Unban(name: string): void;
/** **(Static Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerunbanall](https://sengine.mp-gamer.com/scripting/world/player#playerunbanall) */
declare static function UnbanAll(): void;
/** **(Static Method) >> Client/Player** [https://sengine.mp-gamer.com/scripting/client/player#playeronplayerentitylogin](https://sengine.mp-gamer.com/scripting/client/player#playeronplayerentitylogin) */
declare static function OnPlayerEntityLogin(player: Player, entity: Character): void;
/** **(Static Method) >> Client/Player** [https://sengine.mp-gamer.com/scripting/client/player#playeronplayerentitylogout](https://sengine.mp-gamer.com/scripting/client/player#playeronplayerentitylogout) */
declare static function OnPlayerEntityLogout(player: Player, entity: Character): void;
/** **(Static Method) >> Client/Player** [https://sengine.mp-gamer.com/scripting/client/player#playerfind](https://sengine.mp-gamer.com/scripting/client/player#playerfind) */
declare static function Find(id: int): Player;
/** **(Static Method) >> Client/Player** [https://sengine.mp-gamer.com/scripting/client/player#playergetcount](https://sengine.mp-gamer.com/scripting/client/player#playergetcount) */
declare static function GetCount(): int;
/** **(Static Method) >> Client/Player** [https://sengine.mp-gamer.com/scripting/client/player#playerget](https://sengine.mp-gamer.com/scripting/client/player#playerget) */
declare static function Get(index: int): Player;
/** **(Static Property) >> Client/Player** [https://sengine.mp-gamer.com/scripting/client/player#playerlocal](https://sengine.mp-gamer.com/scripting/client/player#playerlocal) */
declare static let Local: Player;
}
/** **(Class) >> World/Player** */
declare class Player {
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersetentity](https://sengine.mp-gamer.com/scripting/world/player#playersetentity) */
SetEntity(character: Character, isBind: bool = true): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerkick](https://sengine.mp-gamer.com/scripting/world/player#playerkick) */
Kick(reason: string = Kicked): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerban](https://sengine.mp-gamer.com/scripting/world/player#playerban) */
Ban(reason: string = Banned): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playercreatenativemenu](https://sengine.mp-gamer.com/scripting/world/player#playercreatenativemenu) */
CreateNativeMenu(data: any): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerdestroynativemenu](https://sengine.mp-gamer.com/scripting/world/player#playerdestroynativemenu) */
DestroyNativeMenu(): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersetnativemenutext](https://sengine.mp-gamer.com/scripting/world/player#playersetnativemenutext) */
SetNativeMenuText(index: int, text: string): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersetnativemenutext](https://sengine.mp-gamer.com/scripting/world/player#playersetnativemenutext) */
SetNativeMenuText(tag: string, text: string): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerfindnativemenuindex](https://sengine.mp-gamer.com/scripting/world/player#playerfindnativemenuindex) */
FindNativeMenuIndex(tag: string): int;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#player_emitnativemenuevent](https://sengine.mp-gamer.com/scripting/world/player#player_emitnativemenuevent) */
_EmitNativeMenuEvent(index: int, type: int, param: any = null): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playermessage](https://sengine.mp-gamer.com/scripting/world/player#playermessage) */
Message(text: any): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerannounce](https://sengine.mp-gamer.com/scripting/world/player#playerannounce) */
Announce(text: any, type: int = 0, time: float = 6): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersubtitle](https://sengine.mp-gamer.com/scripting/world/player#playersubtitle) */
Subtitle(text: any): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersenddata](https://sengine.mp-gamer.com/scripting/world/player#playersenddata) */
SendData(number: float, data: string): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerstorydialog](https://sengine.mp-gamer.com/scripting/world/player#playerstorydialog) */
StoryDialog(title: string, text: string, avatar: int = -1, sound: int = -1, data: any = null, onComplete: Action = null): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playernextstorydialog](https://sengine.mp-gamer.com/scripting/world/player#playernextstorydialog) */
NextStoryDialog(): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerclearstorydialog](https://sengine.mp-gamer.com/scripting/world/player#playerclearstorydialog) */
ClearStoryDialog(): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerplaysound](https://sengine.mp-gamer.com/scripting/world/player#playerplaysound) */
PlaySound(audioID: int, loop: bool = false, volume: float = 1, tag: string = null): string;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerplay3dsound](https://sengine.mp-gamer.com/scripting/world/player#playerplay3dsound) */
Play3DSound(audioID: int, pos: Vector, radius: float = 80, loop: bool = false, volume: float = 1, tag: string = null): string;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerstopsound](https://sengine.mp-gamer.com/scripting/world/player#playerstopsound) */
StopSound(uuid: string, fadeTime: float = 0): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerplaymusic](https://sengine.mp-gamer.com/scripting/world/player#playerplaymusic) */
PlayMusic(audioID: int, loop: bool = false, fadeTime: float = 3): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerplay3dmusic](https://sengine.mp-gamer.com/scripting/world/player#playerplay3dmusic) */
Play3DMusic(audioID: int, pos: Vector, radius: float = 80, loop: bool = false, fadeTime: float = 3): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerpausemusic](https://sengine.mp-gamer.com/scripting/world/player#playerpausemusic) */
PauseMusic(fadeTime: float = 3): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerresumemusic](https://sengine.mp-gamer.com/scripting/world/player#playerresumemusic) */
ResumeMusic(fadeTime: float = 3): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerstopmusic](https://sengine.mp-gamer.com/scripting/world/player#playerstopmusic) */
StopMusic(fadeTime: float = 3): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerplaynatural](https://sengine.mp-gamer.com/scripting/world/player#playerplaynatural) */
PlayNatural(audioID: int, channel: int, loop: bool = true, fadeTime: float = 3): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerstopnatural](https://sengine.mp-gamer.com/scripting/world/player#playerstopnatural) */
StopNatural(channel: int, fadeTime: float = 3): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerstopallnatural](https://sengine.mp-gamer.com/scripting/world/player#playerstopallnatural) */
StopAllNatural(fadeTime: float = 3): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerfocuscamera](https://sengine.mp-gamer.com/scripting/world/player#playerfocuscamera) */
FocusCamera(): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerbindkeypresser](https://sengine.mp-gamer.com/scripting/world/player#playerbindkeypresser) */
BindKeyPresser(target: any = null): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeraddkeypresser](https://sengine.mp-gamer.com/scripting/world/player#playeraddkeypresser) */
AddKeyPresser(index: int, keyCode: string, text: string, onPress: Action = null): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerremovekeypresser](https://sengine.mp-gamer.com/scripting/world/player#playerremovekeypresser) */
RemoveKeyPresser(index: int): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerexistkeypresser](https://sengine.mp-gamer.com/scripting/world/player#playerexistkeypresser) */
ExistKeyPresser(index: int): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerclearkeypressers](https://sengine.mp-gamer.com/scripting/world/player#playerclearkeypressers) */
ClearKeyPressers(): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playeraddguider](https://sengine.mp-gamer.com/scripting/world/player#playeraddguider) */
AddGuider(index: int, target: any, autoDestroy: bool = false): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerremoveguider](https://sengine.mp-gamer.com/scripting/world/player#playerremoveguider) */
RemoveGuider(index: int): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playerexistguider](https://sengine.mp-gamer.com/scripting/world/player#playerexistguider) */
ExistGuider(index: int): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersetcinematicborder](https://sengine.mp-gamer.com/scripting/world/player#playersetcinematicborder) */
SetCinematicBorder(active: bool, time: float = 1): void;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playergetcinematicborder](https://sengine.mp-gamer.com/scripting/world/player#playergetcinematicborder) */
GetCinematicBorder(): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersetcamerapos](https://sengine.mp-gamer.com/scripting/world/player#playersetcamerapos) */
SetCameraPos(): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playergetcamerapos](https://sengine.mp-gamer.com/scripting/world/player#playergetcamerapos) */
GetCameraPos(): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersetcameratarget](https://sengine.mp-gamer.com/scripting/world/player#playersetcameratarget) */
SetCameraTarget(): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playergetcameratarget](https://sengine.mp-gamer.com/scripting/world/player#playergetcameratarget) */
GetCameraTarget(): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playersetcameratargetpos](https://sengine.mp-gamer.com/scripting/world/player#playersetcameratargetpos) */
SetCameraTargetPos(): bool;
/** **(Public Method) >> World/Player** [https://sengine.mp-gamer.com/scripting/world/player#playergetcameratargetpos](https://sengine.mp-gamer.com/scripting/world/player#playergetcameratargetpos) */
GetCameraTargetPos(): bool;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playerid](https://sengine.mp-gamer.com/scripting/world/player#playerid) */
ID: int;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playeruuid](https://sengine.mp-gamer.com/scripting/world/player#playeruuid) */
UUID: string;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playername](https://sengine.mp-gamer.com/scripting/world/player#playername) */
Name: string;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playeraddress](https://sengine.mp-gamer.com/scripting/world/player#playeraddress) */
Address: string;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playeruserdata](https://sengine.mp-gamer.com/scripting/world/player#playeruserdata) */
UserData: string;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playerinstance](https://sengine.mp-gamer.com/scripting/world/player#playerinstance) */
Instance: CPlayer;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playerentity](https://sengine.mp-gamer.com/scripting/world/player#playerentity) */
Entity: Character;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playercharacter](https://sengine.mp-gamer.com/scripting/world/player#playercharacter) */
Character: Character;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playerchara](https://sengine.mp-gamer.com/scripting/world/player#playerchara) */
Chara: Character;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playerworld](https://sengine.mp-gamer.com/scripting/world/player#playerworld) */
World: int;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playeruniqueworld](https://sengine.mp-gamer.com/scripting/world/player#playeruniqueworld) */
UniqueWorld: int;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playercolor](https://sengine.mp-gamer.com/scripting/world/player#playercolor) */
Color: Color;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playergroup](https://sengine.mp-gamer.com/scripting/world/player#playergroup) */
Group: int;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playerisbindentity](https://sengine.mp-gamer.com/scripting/world/player#playerisbindentity) */
IsBindEntity: bool;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playerpos](https://sengine.mp-gamer.com/scripting/world/player#playerpos) */
Pos: Vector;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playerfocuspos](https://sengine.mp-gamer.com/scripting/world/player#playerfocuspos) */
FocusPos: Vector;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playeristyping](https://sengine.mp-gamer.com/scripting/world/player#playeristyping) */
IsTyping: bool;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playercamerafreemode](https://sengine.mp-gamer.com/scripting/world/player#playercamerafreemode) */
CameraFreeMode: bool;
/** (Property) >> World/Player [https://sengine.mp-gamer.com/scripting/world/player#playercameraslowmode](https://sengine.mp-gamer.com/scripting/world/player#playercameraslowmode) */
CameraSlowMode: bool;
/** (Property) >> Client/Player [https://sengine.mp-gamer.com/scripting/client/player#playerid](https://sengine.mp-gamer.com/scripting/client/player#playerid) */
ID: int;
/** (Property) >> Client/Player [https://sengine.mp-gamer.com/scripting/client/player#playerislocal](https://sengine.mp-gamer.com/scripting/client/player#playerislocal) */
IsLocal: bool;
/** (Property) >> Client/Player [https://sengine.mp-gamer.com/scripting/client/player#playerfocuspos](https://sengine.mp-gamer.com/scripting/client/player#playerfocuspos) */
FocusPos: Vector;
/** (Property) >> Client/Player [https://sengine.mp-gamer.com/scripting/client/player#playerraycastpos](https://sengine.mp-gamer.com/scripting/client/player#playerraycastpos) */
RaycastPos: Vector;
}
/** **(Namespace) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character](https://sengine.mp-gamer.com/scripting/world/character) */
declare namespace Character {
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterspawn](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterspawn) */
declare static function OnCharacterSpawn(character: Character, isCreated: bool): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterdeath](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterdeath) */
declare static function OnCharacterDeath(character: Character, reason: int): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterkill](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterkill) */
declare static function OnCharacterKill(killer: Character, character: Character, reason: int): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharactertriggerentered](https://sengine.mp-gamer.com/scripting/world/character#characteroncharactertriggerentered) */
declare static function OnCharacterTriggerEntered(character: Character, entity: Entity): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharactertriggerexited](https://sengine.mp-gamer.com/scripting/world/character#characteroncharactertriggerexited) */
declare static function OnCharacterTriggerExited(character: Character, entity: Entity): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropchange](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropchange) */
declare static function OnCharacterPropChange(character: Character, oldProp: Prop, newProp: Prop): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropcountchange](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropcountchange) */
declare static function OnCharacterPropCountChange(character: Character, oldCount: int, newCount: int): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropfocus](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropfocus) */
declare static function OnCharacterPropFocus(character: Character, prop: Prop, state: bool): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropactionbefore](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropactionbefore) */
declare static function OnCharacterPropActionBefore(character: Character, prop: Prop): bool;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropaction](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterpropaction) */
declare static function OnCharacterPropAction(character: Character, prop: Prop): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacteroutground](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacteroutground) */
declare static function OnCharacterOutGround(character: Character): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterfallground](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterfallground) */
declare static function OnCharacterFallGround(character: Character): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterdamage](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterdamage) */
declare static function OnCharacterDamage(character: Character, damage: int, from: Entity, type: int, isImmunity: bool): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterhealthchange](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterhealthchange) */
declare static function OnCharacterHealthChange(character: Character, oldHealth: int, newHealth: int): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterarmourchange](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterarmourchange) */
declare static function OnCharacterArmourChange(character: Character, oldArmour: int, newArmour: int): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterbasestate](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterbasestate) */
declare static function OnCharacterBaseState(character: Character, baseState: int): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterfrozenstate](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterfrozenstate) */
declare static function OnCharacterFrozenState(character: Character, isFrozen: bool): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterswimmingstate](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacterswimmingstate) */
declare static function OnCharacterSwimmingState(character: Character, isSwimming: bool): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacteranimplayed](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacteranimplayed) */
declare static function OnCharacterAnimPlayed(character: Character, anim: int, loop: bool): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteroncharacteranimstopped](https://sengine.mp-gamer.com/scripting/world/character#characteroncharacteranimstopped) */
declare static function OnCharacterAnimStopped(character: Character, anim: int, loop: bool): void;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactercreate](https://sengine.mp-gamer.com/scripting/world/character#charactercreate) */
declare static function Create(type: int, pos: Vector, angle: float = 0, skin: int = -1): Character;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterfind](https://sengine.mp-gamer.com/scripting/world/character#characterfind) */
declare static function Find(id: int): Character;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterfindbyuuid](https://sengine.mp-gamer.com/scripting/world/character#characterfindbyuuid) */
declare static function FindByUUID(uuid: string): Character;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactergetcount](https://sengine.mp-gamer.com/scripting/world/character#charactergetcount) */
declare static function GetCount(): int;
/** **(Static Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterget](https://sengine.mp-gamer.com/scripting/world/character#characterget) */
declare static function Get(index: int): Character;
/** **(Static Method) >> Client/Character** [https://sengine.mp-gamer.com/scripting/client/character#characteroncharacterentervehicle](https://sengine.mp-gamer.com/scripting/client/character#characteroncharacterentervehicle) */
declare static function OnCharacterEnterVehicle(character: Character, vehicle: Vehicle, seat: int): void;
/** **(Static Method) >> Client/Character** [https://sengine.mp-gamer.com/scripting/client/character#characteroncharacterexitvehicle](https://sengine.mp-gamer.com/scripting/client/character#characteroncharacterexitvehicle) */
declare static function OnCharacterExitVehicle(character: Character, vehicle: Vehicle, seat: int): void;
/** **(Static Method) >> Client/Character** [https://sengine.mp-gamer.com/scripting/client/character#characterfind](https://sengine.mp-gamer.com/scripting/client/character#characterfind) */
declare static function Find(id: int): Character;
/** **(Static Method) >> Client/Character** [https://sengine.mp-gamer.com/scripting/client/character#characterfindbyuuid](https://sengine.mp-gamer.com/scripting/client/character#characterfindbyuuid) */
declare static function FindByUUID(uuid: string): Character;
/** **(Static Method) >> Client/Character** [https://sengine.mp-gamer.com/scripting/client/character#charactergetcount](https://sengine.mp-gamer.com/scripting/client/character#charactergetcount) */
declare static function GetCount(): int;
/** **(Static Method) >> Client/Character** [https://sengine.mp-gamer.com/scripting/client/character#characterget](https://sengine.mp-gamer.com/scripting/client/character#characterget) */
declare static function Get(index: int): Character;
}
/** **(Class) >> World/Character** */
declare class Character {
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterremove](https://sengine.mp-gamer.com/scripting/world/character#characterremove) */
Remove(): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterdamage](https://sengine.mp-gamer.com/scripting/world/character#characterdamage) */
Damage(damage: int, from: Entity = null, reason: int = 0): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactereject](https://sengine.mp-gamer.com/scripting/world/character#charactereject) */
Eject(): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteraction](https://sengine.mp-gamer.com/scripting/world/character#characteraction) */
Action(): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteraddforce](https://sengine.mp-gamer.com/scripting/world/character#characteraddforce) */
AddForce(force: Vector, isLocal: bool = true): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterentervehicle](https://sengine.mp-gamer.com/scripting/world/character#characterentervehicle) */
EnterVehicle(vehicle: Vehicle): bool;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactersetvehicle](https://sengine.mp-gamer.com/scripting/world/character#charactersetvehicle) */
SetVehicle(vehicle: Vehicle, slot: int): bool;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactersetextend](https://sengine.mp-gamer.com/scripting/world/character#charactersetextend) */
SetExtend(index: int, extend: int): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactergetextend](https://sengine.mp-gamer.com/scripting/world/character#charactergetextend) */
GetExtend(index: int): int;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactersetnodeextend](https://sengine.mp-gamer.com/scripting/world/character#charactersetnodeextend) */
SetNodeExtend(index: int, extendModel: Model): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterremovenodeextend](https://sengine.mp-gamer.com/scripting/world/character#characterremovenodeextend) */
RemoveNodeExtend(index: int): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactergetnodeextend](https://sengine.mp-gamer.com/scripting/world/character#charactergetnodeextend) */
GetNodeExtend(index: int): Model;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterresetprop](https://sengine.mp-gamer.com/scripting/world/character#characterresetprop) */
ResetProp(): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactersetprop](https://sengine.mp-gamer.com/scripting/world/character#charactersetprop) */
SetProp(index: int, id: int, amount: int = 1, data: any = null): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characteraddprop](https://sengine.mp-gamer.com/scripting/world/character#characteraddprop) */
AddProp(id: int, amount: int = 1, data: any = null, forceAll: bool = false, autoSize: bool = false): int;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterappendprop](https://sengine.mp-gamer.com/scripting/world/character#characterappendprop) */
AppendProp(id: int, amount: int = 1, data: any = null, autoSize: bool = false): int;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactergetprop](https://sengine.mp-gamer.com/scripting/world/character#charactergetprop) */
GetProp(index: int): Prop;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterrecover](https://sengine.mp-gamer.com/scripting/world/character#characterrecover) */
Recover(): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterrespawn](https://sengine.mp-gamer.com/scripting/world/character#characterrespawn) */
Respawn(): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#characterkill](https://sengine.mp-gamer.com/scripting/world/character#characterkill) */
Kill(): void;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactergettriggercount](https://sengine.mp-gamer.com/scripting/world/character#charactergettriggercount) */
GetTriggerCount(): int;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactergettrigger](https://sengine.mp-gamer.com/scripting/world/character#charactergettrigger) */
GetTrigger(index: int): any;
/** **(Public Method) >> World/Character** [https://sengine.mp-gamer.com/scripting/world/character#charactersetanim](https://sengine.mp-gamer.com/scripting/world/character#charactersetanim) */
SetAnim(anim: int = -1, loop: bool = false): void;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterid](https://sengine.mp-gamer.com/scripting/world/character#characterid) */
ID: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactertype](https://sengine.mp-gamer.com/scripting/world/character#charactertype) */
Type: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactername](https://sengine.mp-gamer.com/scripting/world/character#charactername) */
Name: string;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterworld](https://sengine.mp-gamer.com/scripting/world/character#characterworld) */
World: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterpos](https://sengine.mp-gamer.com/scripting/world/character#characterpos) */
Pos: Vector;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteralpha](https://sengine.mp-gamer.com/scripting/world/character#characteralpha) */
Alpha: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteralphatime](https://sengine.mp-gamer.com/scripting/world/character#characteralphatime) */
AlphaTime: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterangle](https://sengine.mp-gamer.com/scripting/world/character#characterangle) */
Angle: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactereulerangle](https://sengine.mp-gamer.com/scripting/world/character#charactereulerangle) */
EulerAngle: Vector;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterhealth](https://sengine.mp-gamer.com/scripting/world/character#characterhealth) */
Health: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterarmour](https://sengine.mp-gamer.com/scripting/world/character#characterarmour) */
Armour: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterbasedamage](https://sengine.mp-gamer.com/scripting/world/character#characterbasedamage) */
BaseDamage: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterdamagemultiplier](https://sengine.mp-gamer.com/scripting/world/character#characterdamagemultiplier) */
DamageMultiplier: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterfocuspos](https://sengine.mp-gamer.com/scripting/world/character#characterfocuspos) */
FocusPos: Vector;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactertriggerdistance](https://sengine.mp-gamer.com/scripting/world/character#charactertriggerdistance) */
TriggerDistance: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterskin](https://sengine.mp-gamer.com/scripting/world/character#characterskin) */
Skin: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteranimaltype](https://sengine.mp-gamer.com/scripting/world/character#characteranimaltype) */
AnimalType: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterprop](https://sengine.mp-gamer.com/scripting/world/character#characterprop) */
Prop: Prop;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterpropslot](https://sengine.mp-gamer.com/scripting/world/character#characterpropslot) */
PropSlot: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterpropcount](https://sengine.mp-gamer.com/scripting/world/character#characterpropcount) */
PropCount: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterhasaction](https://sengine.mp-gamer.com/scripting/world/character#characterhasaction) */
HasAction: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterhasfocus](https://sengine.mp-gamer.com/scripting/world/character#characterhasfocus) */
HasFocus: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterfrozen](https://sengine.mp-gamer.com/scripting/world/character#characterfrozen) */
Frozen: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterflymode](https://sengine.mp-gamer.com/scripting/world/character#characterflymode) */
FlyMode: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterspeed](https://sengine.mp-gamer.com/scripting/world/character#characterspeed) */
Speed: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterspeedmultiplier](https://sengine.mp-gamer.com/scripting/world/character#characterspeedmultiplier) */
SpeedMultiplier: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteradditionspeed](https://sengine.mp-gamer.com/scripting/world/character#characteradditionspeed) */
AdditionSpeed: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteradditionspeedmultiplier](https://sengine.mp-gamer.com/scripting/world/character#characteradditionspeedmultiplier) */
AdditionSpeedMultiplier: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteractioncontinue](https://sengine.mp-gamer.com/scripting/world/character#characteractioncontinue) */
ActionContinue: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterinstance](https://sengine.mp-gamer.com/scripting/world/character#characterinstance) */
Instance: CCharacter;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterowner](https://sengine.mp-gamer.com/scripting/world/character#characterowner) */
Owner: Player;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactervehicle](https://sengine.mp-gamer.com/scripting/world/character#charactervehicle) */
Vehicle: Vehicle;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterisspawned](https://sengine.mp-gamer.com/scripting/world/character#characterisspawned) */
IsSpawned: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterisswimming](https://sengine.mp-gamer.com/scripting/world/character#characterisswimming) */
IsSwimming: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterisinwater](https://sengine.mp-gamer.com/scripting/world/character#characterisinwater) */
IsInWater: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterisdriver](https://sengine.mp-gamer.com/scripting/world/character#characterisdriver) */
IsDriver: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterispassenger](https://sengine.mp-gamer.com/scripting/world/character#characterispassenger) */
IsPassenger: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterisextend](https://sengine.mp-gamer.com/scripting/world/character#characterisextend) */
IsExtend: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactervehicletime](https://sengine.mp-gamer.com/scripting/world/character#charactervehicletime) */
VehicleTime: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterpickuptime](https://sengine.mp-gamer.com/scripting/world/character#characterpickuptime) */
PickupTime: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactercheckpointtime](https://sengine.mp-gamer.com/scripting/world/character#charactercheckpointtime) */
CheckpointTime: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterflytime](https://sengine.mp-gamer.com/scripting/world/character#characterflytime) */
FlyTime: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterpickup](https://sengine.mp-gamer.com/scripting/world/character#characterpickup) */
Pickup: Pickup;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactercheckpoint](https://sengine.mp-gamer.com/scripting/world/character#charactercheckpoint) */
Checkpoint: Checkpoint;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteraitarget](https://sengine.mp-gamer.com/scripting/world/character#characteraitarget) */
AITarget: Entity;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteraistate](https://sengine.mp-gamer.com/scripting/world/character#characteraistate) */
AIState: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteraimovestate](https://sengine.mp-gamer.com/scripting/world/character#characteraimovestate) */
AIMoveState: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteraidistance](https://sengine.mp-gamer.com/scripting/world/character#characteraidistance) */
AIDistance: float;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactercolor](https://sengine.mp-gamer.com/scripting/world/character#charactercolor) */
Color: Color;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactercolor1](https://sengine.mp-gamer.com/scripting/world/character#charactercolor1) */
Color1: Color;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactercolor2](https://sengine.mp-gamer.com/scripting/world/character#charactercolor2) */
Color2: Color;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characterentityinstance](https://sengine.mp-gamer.com/scripting/world/character#characterentityinstance) */
EntityInstance: CEntity;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteranydata](https://sengine.mp-gamer.com/scripting/world/character#characteranydata) */
AnyData: any;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteruniqueid](https://sengine.mp-gamer.com/scripting/world/character#characteruniqueid) */
UniqueID: int;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#charactertag](https://sengine.mp-gamer.com/scripting/world/character#charactertag) */
Tag: string;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteroutline](https://sengine.mp-gamer.com/scripting/world/character#characteroutline) */
Outline: bool;
/** (Property) >> World/Character [https://sengine.mp-gamer.com/scripting/world/character#characteroutlinecolor](https://sengine.mp-gamer.com/scripting/world/character#characteroutlinecolor) */
OutlineColor: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterinstance](https://sengine.mp-gamer.com/scripting/client/character#characterinstance) */
Instance: CCharacter;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterid](https://sengine.mp-gamer.com/scripting/client/character#characterid) */
ID: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characteruuid](https://sengine.mp-gamer.com/scripting/client/character#characteruuid) */
UUID: string;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#charactername](https://sengine.mp-gamer.com/scripting/client/character#charactername) */
Name: string;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterpos](https://sengine.mp-gamer.com/scripting/client/character#characterpos) */
Pos: Vector;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterangle](https://sengine.mp-gamer.com/scripting/client/character#characterangle) */
Angle: float;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterhealth](https://sengine.mp-gamer.com/scripting/client/character#characterhealth) */
Health: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterarmour](https://sengine.mp-gamer.com/scripting/client/character#characterarmour) */
Armour: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#charactertype](https://sengine.mp-gamer.com/scripting/client/character#charactertype) */
Type: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterskin](https://sengine.mp-gamer.com/scripting/client/character#characterskin) */
Skin: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterfrozen](https://sengine.mp-gamer.com/scripting/client/character#characterfrozen) */
Frozen: bool;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterpropid](https://sengine.mp-gamer.com/scripting/client/character#characterpropid) */
PropID: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterpropamount](https://sengine.mp-gamer.com/scripting/client/character#characterpropamount) */
PropAmount: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#charactervehicle](https://sengine.mp-gamer.com/scripting/client/character#charactervehicle) */
Vehicle: Vehicle;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#charactervehicleslot](https://sengine.mp-gamer.com/scripting/client/character#charactervehicleslot) */
VehicleSlot: int;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterowner](https://sengine.mp-gamer.com/scripting/client/character#characterowner) */
Owner: Player;
/** (Property) >> Client/Character [https://sengine.mp-gamer.com/scripting/client/character#characterentityinstance](https://sengine.mp-gamer.com/scripting/client/character#characterentityinstance) */
EntityInstance: CEntity;
}
/** **(Namespace) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle](https://sengine.mp-gamer.com/scripting/world/vehicle) */
declare namespace Vehicle {
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehiclespawn](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehiclespawn) */
declare static function OnVehicleSpawn(vehicle: Vehicle, isCreated: bool): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehicleentered](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehicleentered) */
declare static function OnVehicleEntered(character: Character, vehicle: Vehicle, seat: int): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehicleexited](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehicleexited) */
declare static function OnVehicleExited(character: Character, vehicle: Vehicle, seat: int): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehicledamage](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehicledamage) */
declare static function OnVehicleDamage(vehicle: Vehicle, damage: int, from: Entity, type: int, isImmunity: bool): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehiclehealthchange](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehiclehealthchange) */
declare static function OnVehicleHealthChange(vehicle: Vehicle, oldHealth: int, newHealth: int): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehicleexplode](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleonvehicleexplode) */
declare static function OnVehicleExplode(vehicle: Vehicle, reason: int): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclecreate](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclecreate) */
declare static function Create(model: int, pos: Vector, angle: float = 0, color: Color = null): Vehicle;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclefind](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclefind) */
declare static function Find(id: int): Vehicle;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclefindbyuuid](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclefindbyuuid) */
declare static function FindByUUID(uuid: string): Vehicle;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetsourcedata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetsourcedata) */
declare static function GetSourceData(id: int): CVehicleData;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetcount](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetcount) */
declare static function GetCount(): int;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleget](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleget) */
declare static function Get(index: int): Vehicle;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclesetsourcedata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclesetsourcedata) */
declare static function SetSourceData(model: int, keyPath: string, value: any): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetsourcedata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetsourcedata) */
declare static function GetSourceData(model: int, keyPath: string): any;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleresetsourcedata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleresetsourcedata) */
declare static function ResetSourceData(model: int): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleresetalldata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleresetalldata) */
declare static function ResetAllData(model: int): void;
/** **(Static Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleresetallvehicledata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleresetallvehicledata) */
declare static function ResetAllVehicleData(): void;
/** **(Static Method) >> Client/Vehicle** [https://sengine.mp-gamer.com/scripting/client/vehicle#vehiclefind](https://sengine.mp-gamer.com/scripting/client/vehicle#vehiclefind) */
declare static function Find(id: int): Vehicle;
/** **(Static Method) >> Client/Vehicle** [https://sengine.mp-gamer.com/scripting/client/vehicle#vehiclefindbyuuid](https://sengine.mp-gamer.com/scripting/client/vehicle#vehiclefindbyuuid) */
declare static function FindByUUID(uuid: string): Vehicle;
/** **(Static Method) >> Client/Vehicle** [https://sengine.mp-gamer.com/scripting/client/vehicle#vehiclegetcount](https://sengine.mp-gamer.com/scripting/client/vehicle#vehiclegetcount) */
declare static function GetCount(): int;
/** **(Static Method) >> Client/Vehicle** [https://sengine.mp-gamer.com/scripting/client/vehicle#vehicleget](https://sengine.mp-gamer.com/scripting/client/vehicle#vehicleget) */
declare static function Get(index: int): Vehicle;
}
/** **(Class) >> World/Vehicle** */
declare class Vehicle {
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleremove](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleremove) */
Remove(): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicledamage](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicledamage) */
Damage(damage: int, from: Entity = null, reason: int = 0): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleaddforce](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleaddforce) */
AddForce(force: Vector, isLocal: bool = true): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclesetoccupant](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclesetoccupant) */
SetOccupant(character: Character, seat: int): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetoccupant](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetoccupant) */
GetOccupant(seat: int): Character;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclefindoccupant](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclefindoccupant) */
FindOccupant(character: Character): int;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclefix](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclefix) */
Fix(): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclekill](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclekill) */
Kill(): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclerespawn](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclerespawn) */
Respawn(): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleejectall](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleejectall) */
EjectAll(): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclesettyre](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclesettyre) */
SetTyre(index: int, state: int): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegettyre](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegettyre) */
GetTyre(index: int): int;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclesetdata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclesetdata) */
SetData(key: string, value: any): void;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetdata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclegetdata) */
GetData(key: string): any;
/** **(Public Method) >> World/Vehicle** [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleresetdata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleresetdata) */
ResetData(): void;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleid](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleid) */
ID: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleuuid](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleuuid) */
UUID: string;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleinstance](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleinstance) */
Instance: CVehicle;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleworld](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleworld) */
World: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclemodel](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclemodel) */
Model: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicletype](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicletype) */
Type: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicledata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicledata) */
Data: CVehicleData;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclepos](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclepos) */
Pos: Vector;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleangle](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleangle) */
Angle: float;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleeulerangle](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleeulerangle) */
EulerAngle: Vector;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclehealth](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclehealth) */
Health: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicledamagemultiplier](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicledamagemultiplier) */
DamageMultiplier: float;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleimmunity](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleimmunity) */
Immunity: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclelight](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclelight) */
Light: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleflarelight](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleflarelight) */
FlareLight: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclehorn](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclehorn) */
Horn: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclealarm](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclealarm) */
Alarm: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclecolor](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclecolor) */
Color: Color;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicledriver](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicledriver) */
Driver: Character;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleseat](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleseat) */
Seat: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleseated](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleseated) */
Seated: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclevelocity](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclevelocity) */
Velocity: Vector;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclespeed](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclespeed) */
Speed: float;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclespeedprogress](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclespeedprogress) */
SpeedProgress: float;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleisdamaged](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleisdamaged) */
IsDamaged: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleisinwater](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleisinwater) */
IsInWater: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclepowerstate](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclepowerstate) */
PowerState: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleturnstate](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleturnstate) */
TurnState: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleengine](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleengine) */
Engine: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclelocked](https://sengine.mp-gamer.com/scripting/world/vehicle#vehiclelocked) */
Locked: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleghostmode](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleghostmode) */
GhostMode: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleentityinstance](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleentityinstance) */
EntityInstance: CEntity;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleanydata](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleanydata) */
AnyData: any;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleuniqueid](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleuniqueid) */
UniqueID: int;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicletag](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicletag) */
Tag: string;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleoutline](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleoutline) */
Outline: bool;
/** (Property) >> World/Vehicle [https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleoutlinecolor](https://sengine.mp-gamer.com/scripting/world/vehicle#vehicleoutlinecolor) */
OutlineColor: int;
/** **(Public Method) >> Client/Vehicle** [https://sengine.mp-gamer.com/scripting/client/vehicle#vehiclegetoccupant](https://sengine.mp-gamer.com/scripting/client/vehicle#vehiclegetoccupant) */
GetOccupant(seat: int): Character;