[AYUDA] No Sale Skin Para Seleccion + Otro Problema
#1

Necesito Una Simple Ayudita

Como Pueden Ver En La Siguiente Imagen, Al Entrar A Seleccionar El Skin (Muсeco) Solo Aparece El Primero, & Al Dar Siguiente No Sale Ninguno, Paso & Paso & Paso.... Pero No Sale Ningun Skin :/ Porfavor Ayuda

* TAMBIEN Intento Entrar A Un Auto & No Entra, El Skin Ase El Intento De Entrar Pero No Lo Ase, Tambien Para Saltar (Igualmente).

URGENTE AYUDA




Gracias.
Reply
#2

Solo te dirй dos cosas.

Tal vez no supiste usar mSelection.

La segunda es:

No somos magos somos Scripter si no pegas el codigo donde creas que falla no podremos ayudarte
Reply
#3

Quote:
Originally Posted by Parka
Посмотреть сообщение
Solo te dirй dos cosas.

Tal vez no supiste usar mSelection.

La segunda es:

No somos magos somos Scripter si no pegas el codigo donde creas que falla no podremos ayudarte
x2... pero de seguro nadamas tienes un AddPlayerClass y los autos tienen el parametro para estar bloqueados
Reply
#4

Modificaste el GM de adri1? en que parte? porque amн me anda de 10, saludos!
Como dicen los demбs, publica el cуdigo del addplayerclass :P
Reply
#5

Quote:
Originally Posted by xSDx
Посмотреть сообщение
x2... pero de seguro nadamas tienes un AddPlayerClass y los autos tienen el parametro para estar bloqueados
Код:
public OnPlayerConnect(playerid){

//------------------------------------------------------------------------------
//================================[SKINS]=======================================
//------------------------------------------------------------------------------
	for(new s = 0; s < 300; s++)
	{
	AddPlayerClass(1,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(2,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(3,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(4,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(5,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(6,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(7,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(8,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(9,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(10,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(11,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(12,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(13,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(14,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(15,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(16,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(17,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(18,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(19,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(20,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(21,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(22,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(23,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(24,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(25,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(26,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(27,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(28,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(29,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(30,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(31,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(32,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(33,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(34,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(35,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(36,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(37,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(38,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(39,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(40,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(41,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(42,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(43,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(44,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(45,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(46,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(47,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(48,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(49,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(50,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(51,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(52,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(54,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(55,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(56,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(57,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(58,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(59,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(60,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(61,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(62,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(63,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(64,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(65,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(66,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(67,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(68,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(69,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(70,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(71,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(72,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(73,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(74,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(75,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(76,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(77,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(78,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(79,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(80,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(81,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(82,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(83,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(84,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(85,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(86,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(87,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(88,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(89,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(90,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(91,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(92,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(93,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(94,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(95,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(96,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(97,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(98,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(99,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(100,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(101,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(102,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(103,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(104,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(105,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(106,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(107,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(108,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(109,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(110,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(111,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(112,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(113,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(114,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(115,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(116,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(117,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(118,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(119,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(120,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(121,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(122,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(123,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(124,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(125,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(126,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(127,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(128,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(129,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(130,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(131,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(132,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(133,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(134,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(135,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(136,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(137,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(138,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(139,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(140,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(141,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(142,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(143,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(144,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(145,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(146,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(147,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(148,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(150,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(151,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(152,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(153,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(154,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(155,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(156,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(157,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(158,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(159,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(160,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(161,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(162,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(163,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(164,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(165,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(166,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(167,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(168,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(169,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(170,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(171,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(172,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(173,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(174,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(175,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(176,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(177,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(178,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	AddPlayerClass(179,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(180,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(181,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(182,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(183,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(184,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(185,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(186,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(187,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(188,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(189,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(190,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(191,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(192,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(193,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(194,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(195,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(196,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(197,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(198,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(199,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(200,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(201,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(202,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(203,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(204,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(205,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(206,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(207,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(209,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(210,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(211,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(212,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(213,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(214,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(215,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(216,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(217,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(218,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(219,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(220,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(221,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(222,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(223,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(224,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(225,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(226,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(227,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(228,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(229,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(230,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(231,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(232,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(233,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(234,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(235,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(236,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(237,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(238,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(239,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(240,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(241,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(242,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(243,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(244,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(245,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(246,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(247,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(248,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(249,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(250,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(251,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(252,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(253,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(254,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(255,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(256,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(257,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(258,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(259,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(260,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(261,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(262,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(263,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(264,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(265,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(266,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(267,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(268,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(269,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(270,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(271,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(272,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(274,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(275,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(276,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(277,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(278,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(279,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(280,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(281,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(282,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(283,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(284,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(285,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(286,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(287,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(288,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
    AddPlayerClass(289,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
	}
& Tambien Estan Los AddPlayerClass En OnGameModeInit, & Lo Del Auto? El Salto?? Ayuda Porfa
Reply
#6

Quote:
Originally Posted by Matyaas
Посмотреть сообщение
Modificaste el GM de adri1? en que parte? porque amн me anda de 10, saludos!
Como dicen los demбs, publica el cуdigo del addplayerclass :P
No, No He Editado Ese Server
Reply
#7

Borra eso del callback OnPlayerConnect.
Reply
#8

Quote:
Originally Posted by DesingMyCry
Посмотреть сообщение
Borra eso del callback OnPlayerConnect.
X2

colуcalo asн pero en OnGameModeInit.

pawn Код:
public OnGameModeInit(playerid)
{
for(new s = 0; s < 299; s++)
{
AddPlayerClass( s, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
}
}
Reply
#9

Quote:
Originally Posted by Parka
Посмотреть сообщение
X2

colуcalo asн pero en OnGameModeInit.

pawn Код:
public OnGameModeInit(playerid)
{
for(new s = 0; s < 299; s++)
{
AddPlayerClass( s, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0);
}
}
Me Dices Que Coloque
}
} & Eso No Funciona . & Tampoco No Carga El Skin

Te Dejo Los Codes Que Agregue & Despues De Eso No Funciona Bien.

Код:
forward OnPlayerFinishInterpolateCamera(playerid, type);
forward LoadUser_data(playerid,name[],value[]);
forward FinishPlayerSpectatePlayer(playerid);
forward TogglePlayerControllableFunc(playerid, bool:controllable);
//

//
new
   ObjectsSpawner[MAX_PLAYERS][2]      ,
   AllTimers[MAX_PLAYERS][3]           ,
   KillObject[MAX_PLAYERS]
;







public OnPlayerRequestClass(playerid, classid)
{
    if(GetPVarInt(playerid, "OPRC.anim") == 1) goto Class;
   if(!GetPVarInt(playerid, "OnPlayerRequestClass.animation"))
   {
       SetPVarInt(playerid, "OnPlayerRequestClass.animation", 6);
       SetPlayerPosEx(playerid, -58.228553, 2500.509765, 19.593465);
       SetPlayerTime(playerid, 0, 0);
       
       SetPlayerCameraPos(playerid, 500.0547, 2502.7207, 73.9933);
      SetPlayerCameraLookAt(playerid, 499.0503, 2502.7249, 73.1433);
      
      InterpolateCameraPos(playerid, 500.0547, 2502.7207, 73.9933,   -34.4162, 2500.4644, 32.7086, 5000, CAMERA_MOVE);
      InterpolateCameraLookAt(playerid, 499.0503, 2502.7249, 73.1433,   -35.4207, 2500.4666, 32.4636, 5000, CAMERA_MOVE);
      AllTimers[playerid][0] = SetTimerEx("OnPlayerFinishInterpolateCamera", 4000, 0, "id", playerid, 0);
      return 1;
   }
   
   if(GetPVarInt(playerid, "OPRC.anim") == 1)
   {
      Class:
      {
         SetPlayerPos(playerid, -58.228553, 2500.509765, 19.593465);
          SetPlayerTime(playerid, 0, 0);

          SetPlayerCameraPos(playerid, 500.0547, 2502.7207, 73.9933);
         SetPlayerCameraLookAt(playerid, 499.0503, 2502.7249, 73.1433);

         SetPVarInt(playerid, "OnPlayerRequestClass.animation", 1);
         SetPVarInt(playerid, "OPRC.anim", 2);
      }
   }
   switch(GetPVarInt(playerid, "OnPlayerRequestClass.animation"))
   {
      case 1:
      {
         InterpolateCameraPos(playerid, -34.4162, 2500.4644, 32.7086,   -46.9907, 2511.7117, 27.2232, 1000, CAMERA_MOVE);
         InterpolateCameraLookAt(playerid, -35.4207, 2500.4666, 32.4636,   -47.7768, 2511.0862, 26.8432, 1000, CAMERA_MOVE);
         SetPVarInt(playerid, "OnPlayerRequestClass.animation", 2);
      }
      case 2:
      {
         InterpolateCameraPos(playerid, -46.9907, 2511.7117, 27.2232,   -47.9054, 2488.2710, 27.4576, 1000, CAMERA_MOVE);
         InterpolateCameraLookAt(playerid, -47.7768, 2511.0862, 26.8432,   -48.6777, 2488.9124, 27.0826, 1000, CAMERA_MOVE);
         SetPVarInt(playerid, "OnPlayerRequestClass.animation", 3);
      }
      case 3:
      {
         InterpolateCameraPos(playerid, -47.9054, 2488.2710, 27.4576,   -50.8066, 2500.5515, 21.6882, 1000, CAMERA_MOVE);
         InterpolateCameraLookAt(playerid, -48.6777, 2488.9124, 27.0826,   -51.8098, 2500.5664, 21.4482, 1000, CAMERA_MOVE);
         SetPVarInt(playerid, "OnPlayerRequestClass.animation", 4);
      }
      case 4:
      {
         InterpolateCameraPos(playerid, -50.8066, 2500.5515, 21.6882,   -46.1360, 2500.0598, 16.3729, 1000, CAMERA_MOVE);
         InterpolateCameraLookAt(playerid, -51.8098, 2500.5664, 21.4482, -47.1393, 2500.0588, 16.8079, 1000, CAMERA_MOVE);
         SetPVarInt(playerid, "OnPlayerRequestClass.animation", 5);
      }
      case 5:
      {
         InterpolateCameraPos(playerid, -46.1360, 2500.0598, 16.3729,   -34.4162, 2500.0598, 32.7086, 1000, CAMERA_MOVE);
         InterpolateCameraLookAt(playerid, -47.1393, 2500.0588, 16.8079, -35.4207, 2500.0598, 32.4636, 1000, CAMERA_MOVE);
         SetPVarInt(playerid, "OnPlayerRequestClass.animation", 1);
      }
   }
   return 1;
}

public OnPlayerConnect(playerid)
{

   KillObject[playerid] = CreatePlayerObject(playerid, 1305, 0.0, 0.0, -100.0, 0.0, 0.0, 0.0);
 
   
   //Objetos spawner
   //SP
   ObjectsSpawner[playerid][0] = CreatePlayerObject(playerid, 19128, -66.40160, 2487.00513, 34.75180,   80.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19128, -60.38420, 2491.07935, 18.28440,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19128, -60.38420, 2510.07935, 18.28440,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19128, -59.38420, 2500.57935, 18.28440,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 2232, -61.68860, 2485.73804, 18.77390,   0.00000, 0.00000, 105.00000);
   CreatePlayerObject(playerid, 2232, -62.68860, 2486.73804, 18.77390,   0.00000, 0.00000, 105.00000);
   CreatePlayerObject(playerid, 2232, -63.68860, 2487.73804, 18.77390,   0.00000, 0.00000, 105.00000);
   CreatePlayerObject(playerid, 2232, -63.68860, 2512.23804, 18.77390,   0.00000, 0.00000, -295.00000);
   CreatePlayerObject(playerid, 2232, -62.68860, 2513.23804, 18.77390,   0.00000, 0.00000, -295.00000);
   CreatePlayerObject(playerid, 2232, -61.68860, 2514.23804, 18.77390,   0.00000, 0.00000, -295.00000);
   CreatePlayerObject(playerid, 19128, -57.14441, 2484.08960, 16.25639,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.14440, 2488.08960, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.14440, 2492.08960, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.14440, 2496.08960, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.14440, 2500.08960, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.14440, 2504.08960, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.14440, 2508.08960, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.14440, 2512.08960, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.14440, 2516.08960, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -57.12888, 2518.63135, 16.25640,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 19128, -59.12976, 2520.57617, 16.25640,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19128, -62.62980, 2520.57617, 16.25640,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19128, -66.62980, 2520.57617, 16.25640,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19128, -70.62980, 2520.57617, 16.25640,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -73.39670, 2517.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -73.39670, 2495.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -73.39670, 2490.39819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19128, -59.12376, 2482.12109, 16.25640,   90.00000, 0.00000, 180.00000);
   CreatePlayerObject(playerid, 19128, -62.62380, 2482.12109, 16.25640,   90.00000, 0.00000, 180.00000);
   CreatePlayerObject(playerid, 19128, -66.12380, 2482.12109, 16.25640,   90.00000, 0.00000, 180.00000);
   CreatePlayerObject(playerid, 19128, -69.62380, 2482.12109, 16.25640,   90.00000, 0.00000, 180.00000);
   CreatePlayerObject(playerid, 8615, -66.26967, 2521.48071, 16.56194,   0.00000, 0.00000, 180.00000);
   CreatePlayerObject(playerid, 18102, -59.83721, 2505.77319, 24.37400,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 18646, -57.27507, 2482.32300, 18.40212,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2482.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2483.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2483.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2484.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2484.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2485.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2485.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2486.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2486.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2487.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2487.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2488.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2488.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2489.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2489.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2490.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2490.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2491.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2491.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2492.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2492.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2493.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2493.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2494.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2494.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2495.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2495.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2496.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2496.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2497.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2497.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2498.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2498.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2499.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2499.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2500.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2500.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2501.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2501.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2502.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2502.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2503.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2503.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2504.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2504.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2505.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2505.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2506.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2506.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2507.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2507.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2508.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2508.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2509.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2509.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2510.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2510.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2511.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2511.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2512.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2512.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2513.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2513.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2514.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2514.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2515.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2515.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2516.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2516.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2517.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2517.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2518.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2518.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2519.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2519.82300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18646, -57.27510, 2520.32300, 18.40210,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18654, -57.41926, 2482.56665, 17.41580,   0.00000, 0.00000, -42.00000);
   CreatePlayerObject(playerid, 18654, -57.41930, 2520.06665, 17.41580,   0.00000, 0.00000, 42.00000);
   CreatePlayerObject(playerid, 18656, -19.55884, 2431.11963, 12.84384,   15.00000, 0.00000, 30.00000);
   CreatePlayerObject(playerid, 18656, -19.55880, 2573.11963, 12.84380,   15.00000, 0.00000, 150.00000);
   CreatePlayerObject(playerid, 19121, -59.31916, 2482.69775, 18.79642,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -60.31920, 2482.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -61.31920, 2482.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -62.31920, 2482.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -63.31920, 2482.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -64.31920, 2482.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -65.31920, 2482.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -58.31920, 2482.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -58.31920, 2519.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -59.31920, 2519.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -60.31920, 2519.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -61.31920, 2519.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -62.31920, 2519.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -63.31920, 2519.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -64.31920, 2519.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19121, -65.31920, 2519.69775, 18.79640,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 18841, -72.88402, 2500.81714, 13.97452,   0.00000, 90.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -72.64252, 2512.97607, 33.44429,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -72.64250, 2501.47607, 33.44430,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -72.64250, 2496.97607, 33.44430,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -72.64250, 2486.97607, 33.44430,   90.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -78.14250, 2486.97607, 27.76877,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -71.64250, 2486.97607, 35.19240,   75.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -71.64250, 2496.97607, 35.19240,   75.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -71.64250, 2503.47607, 35.19240,   75.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -71.64250, 2512.97607, 35.19240,   75.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 16133, -76.49704, 2496.47119, 14.95630,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -66.89670, 2484.89819, 18.27913,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -66.89670, 2490.39819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -66.89670, 2495.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -66.89670, 2501.39819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -66.89670, 2506.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -66.89670, 2512.39819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -60.39670, 2484.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -60.39670, 2490.39819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -60.39670, 2495.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -60.39670, 2501.39819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -60.39670, 2506.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -60.39670, 2512.39819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 3438, -61.03810, 2500.35498, 18.26750,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 3438, -62.53810, 2500.35498, 17.76750,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 3438, -64.03810, 2500.35498, 17.26750,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 3438, -65.53810, 2500.35498, 16.76750,   0.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 3437, -66.87104, 2500.29663, 24.75650,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -66.87100, 2505.29663, 21.76410,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -66.87100, 2510.29663, 19.76410,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -66.87100, 2515.29663, 17.76410,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -66.87100, 2495.29663, 21.76410,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -66.87100, 2490.29663, 19.76410,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 3437, -66.87100, 2485.29663, 17.76410,   0.00000, 0.00000, 90.00000);
   CreatePlayerObject(playerid, 974, -66.89670, 2517.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 974, -60.39670, 2517.89819, 18.27910,   90.00000, 0.00000, 0.00000);
   CreatePlayerObject(playerid, 19128, -66.40160, 2500.50513, 34.75180,   80.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19128, -66.40160, 2496.50513, 34.75180,   80.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19128, -66.40160, 2492.50513, 34.75180,   80.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19128, -66.40160, 2488.50513, 34.75180,   80.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19128, -66.40160, 2504.50513, 34.75180,   80.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19128, -66.40160, 2508.50513, 34.75180,   80.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19128, -66.40160, 2512.50513, 34.75180,   80.00000, 0.00000, -90.00000);

   CreatePlayerObject(playerid, 19143, -66.30552, 2487.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2487.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2487.21558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2487.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2487.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2488.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2487.71558, 34.53840,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2487.71558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2488.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2489.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2489.71558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2490.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2490.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2491.21558, 35.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2491.71558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2489.21558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2489.71558, 35.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2490.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2490.71558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2491.21558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2491.71558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2492.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2492.71558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2492.71558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2492.71558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2493.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2493.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2493.71558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2494.71558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2494.71558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2494.71558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2494.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2495.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2495.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2496.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2497.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2497.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2497.21558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2497.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2497.71558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2498.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2497.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2498.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2497.71558, 34.53840,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2496.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2499.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2499.21558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2499.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2499.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2499.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2500.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2500.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2501.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2501.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2501.21558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2501.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2502.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2502.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2502.21558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2502.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2502.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2503.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2502.71558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2503.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2502.71558, 34.53840,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2505.71558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2505.71558, 35.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2505.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2505.71558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2505.71558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2505.71558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2506.21558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2506.71558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2507.21558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2507.71558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2506.21558, 35.06220,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2506.71558, 35.06220,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2507.21558, 35.06220,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2509.21558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2509.21558, 35.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2509.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2509.21558, 34.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2509.21558, 34.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2509.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2509.71558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2510.21558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2510.71558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2511.21558, 36.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.12080, 2511.21558, 35.79580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2509.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2510.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2510.71558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2511.21558, 35.29580,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2509.71558, 34.82246,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2510.21558, 34.48722,   0.00000, 0.00000, -90.00000);
   CreatePlayerObject(playerid, 19143, -66.30550, 2510.71558, 34.05332,   0.00000, 0.00000, -90.00000);
   ObjectsSpawner[playerid][1] = CreatePlayerObject(playerid, 19143, -66.30550, 2511.21558, 33.79580,   0.00000, 0.00000, -90.00000);
   return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    if(GetPVarInt(playerid, "OnPlayerRequestClass.animation")) DeletePVar(playerid, "OnPlayerRequestClass.animation");
    if(GetPVarInt(playerid, "OnPlayerClickPlayer.clickedplayerid")) DeletePVar(playerid, "OnPlayerClickPlayer.clickedplayerid");
    if(GetPVarInt(playerid, "OPRC.anim")) DeletePVar(playerid, "OPRC.anim");

    DestroyPlayerObject(playerid, KillObject[playerid]);

    KillTimer(AllTimers[playerid][0]);
   KillTimer(AllTimers[playerid][1]);
   KillTimer(AllTimers[playerid][2]);
   StopAudioStreamForPlayer(playerid);
    if(IsValidPlayerObject(playerid, ObjectsSpawner[playerid][0]))
    {
       for(new i = ObjectsSpawner[playerid][0]; i != ObjectsSpawner[playerid][1]; i++) DestroyPlayerObject(playerid, i);
      DestroyPlayerObject(playerid, ObjectsSpawner[playerid][0]);
      DestroyPlayerObject(playerid, ObjectsSpawner[playerid][1]);
   }

   return 1;
}

public OnPlayerSpawn(playerid)
{
   if(GetPVarInt(playerid, "OnPlayerRequestClass.animation"))
   {
        DeletePVar(playerid, "OnPlayerRequestClass.animation");
        SetPVarInt(playerid, "OPRC.anim", 1);
      SetPlayerTime(playerid, 18, 0);
        TogglePlayerControllable(playerid, false);
        SetPlayerPos(playerid, -58.228553, 2500.509765, 19.593465);
      switch(random(2))
      {
         case 0:
         {
            SetPlayerCameraPos(playerid, -66.2732, 2489.9365, 25.3483);
            SetPlayerCameraLookAt(playerid, -65.6206, 2490.6914, 24.8783);
            InterpolateCameraPos(playerid, -66.2732, 2489.9365, 25.3483,   -61.723800, 2500.562255, 20.368400, 2000, CAMERA_MOVE);
            InterpolateCameraLookAt(playerid, -65.6206, 2490.6914, 24.8783,   -60.725162, 2500.547308, 20.318421, 2000, CAMERA_MOVE);
         }
         case 1:
         {
            SetPlayerCameraPos(playerid, -66.2732, 2511.18801, 25.3483);
            SetPlayerCameraLookAt(playerid, -65.6206, 2510.403216, 24.8783);
            InterpolateCameraPos(playerid, -66.2732, 2511.18801, 25.3483,   -61.723800, 2500.562255, 20.368400, 2000, CAMERA_MOVE);
            InterpolateCameraLookAt(playerid, -65.6206, 2510.403216, 24.8783,   -60.725162, 2500.547308, 20.318421, 2000, CAMERA_MOVE);
         }
         default:
         {
            SetPlayerCameraPos(playerid, -66.2732, 2489.9365, 25.3483);
            SetPlayerCameraLookAt(playerid, -65.6206, 2490.6914, 24.8783);
            InterpolateCameraPos(playerid, -66.2732, 2489.9365, 25.3483,   -61.723800, 2500.562255, 20.368400, 2000, CAMERA_MOVE);
            InterpolateCameraLookAt(playerid, -65.6206, 2490.6914, 24.8783,   -60.725162, 2500.547308, 20.318421, 2000, CAMERA_MOVE);
         }
      }
      TogglePlayerControllable(playerid, false);
      if(!GetPVarInt(playerid, "newuser")) AllTimers[playerid][1] = SetTimerEx("OnPlayerFinishInterpolateCamera", 2000, 0, "id", playerid, 1), SetPlayerHealth(playerid, 999999999999.0);
      else AllTimers[playerid][1] = SetTimerEx("OnPlayerFinishInterpolateCamera", 2000, 0, "id", playerid, 2), SetPlayerHealth(playerid, 999999999999.0);
      TogglePlayerControllable(playerid, false);

   return 1;
}



public OnPlayerRequestSpawn(playerid)
{
    if(GetPVarInt(playerid, "OPRC.anim") == 2) return SetPVarInt(playerid, "OPRC.anim", 1);
   for(new i = ObjectsSpawner[playerid][0]; i != ObjectsSpawner[playerid][1]; i++) DestroyPlayerObject(playerid, i);
   DestroyPlayerObject(playerid, ObjectsSpawner[playerid][0]);
   DestroyPlayerObject(playerid, ObjectsSpawner[playerid][1]);
   KillTimer(AllTimers[playerid][0]);
   return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{

TogglePlayerControllable(playerid, true);

   return 1;
}




public OnPlayerFinishInterpolateCamera(playerid, type)
{
   switch(type)
   {
       case 0:
      {
         SetPVarInt(playerid, "OnPlayerRequestClass.animation", 1);
         CreateExplosion(-66.47598, 2485.41333, 18.79640, 1, 10);
         CreateExplosion(-66.47600, 2490.41333, 18.79640, 1, 10);
         CreateExplosion(-66.47600, 2495.41333, 18.79640, 1, 10);
         CreateExplosion(-66.47600, 2501.41333, 18.79640, 1, 10);
         CreateExplosion(-66.47600, 2505.41333, 18.79640, 1, 10);
         CreateExplosion(-66.47600, 2510.41333, 18.79640, 1, 10);
         CreateExplosion(-66.47600, 2515.41333, 18.79640, 1, 10);
      }
      case 1:
      {
         SetCameraBehindPlayer(playerid);
         StopAudioStreamForPlayer(playerid);
         TogglePlayerControllable(playerid, true);
          SetPlayerHealth(playerid, 100.0);
      }
      case 2:
      {
          SetCameraBehindPlayer(playerid);
          SetPlayerWantedLevel(playerid, 1);
      }
   }
   return 1;
}




public TogglePlayerControllableFunc(playerid, bool:controllable)
{
   return (controllable) ? (TogglePlayerControllable(playerid, true)) : (TogglePlayerControllable(playerid, false));
}




stock SendClientMessageEx(playerid, colour, const fmat[],  va_args<>)
{
   new str[145];
   va_format(str, sizeof (str), fmat, va_start<3>);
   return (playerid != -1) ? SendClientMessage(playerid, colour, str) : SendClientMessageToAll(colour, str);
}

SetPlayerPosEx(playerid, Float:X, Float:Y, Float:Z, interiorid = 0)
{
   if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z+0.5), LinkVehicleToInterior(GetPlayerVehicleID(playerid), interiorid);
   else SetPlayerPos(playerid, X, Y, Z+0.5), SetPlayerInterior(playerid, interiorid);

   TogglePlayerControllable(playerid, false);
    SetTimerEx("TogglePlayerControllableFunc", 2000, 0, "id", playerid, true);
   return 1;
}
Reply
#10

pawn Код:
SetPlayerCameraPos(playerid, 500.0547, 2502.7207, 73.9933);
      SetPlayerCameraLookAt(playerid, 499.0503, 2502.7249, 73.1433);
     
      InterpolateCameraPos(playerid, 500.0547, 2502.7207, 73.9933,   -34.4162, 2500.4644, 32.7086, 5000, CAMERA_MOVE);
      InterpolateCameraLookAt(playerid, 499.0503, 2502.7249, 73.1433,   -35.4207, 2500.4666, 32.4636, 5000, CAMERA_MOVE);
Ahн esta el problema.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)