anyone help ?
#1

anyone help me here in selection screen stuff ? skin's not changing when i'm picking .


Reply
#2

OnPlayerConnect / OnPlayerSpawn?
Reply
#3

Lemme see onplayerrequestclass,do not close that with
Код:
return 0;
that will prevent that also.
Reply
#4

You need AddPlayerClass.

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

That should help you out.
Reply
#5

Quote:
Originally Posted by Lynn
Посмотреть сообщение
You need AddPlayerClass.

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

That should help you out.
alreadyhave AddPlayerclass
Reply
#6

Post what you have.
AddPlayerClass
All the lines that say that, post them.
Reply
#7

In „OnGameModeInit” you have to use „AddPlayerClass” and use the callback „OnPlayerRequestClass”.
Reply
#8

Here:

Код:
//--------------------------------ALL GAME TEAMS--------------------------------
//Classes Note: Some of the Classes are Cams so give Credit to him too
AddPlayerClass(27,-2062.2273,237.4598,35.6872,268.8936,0,0,0,0,0,0); //SF Worker
AddPlayerClass(296,-2653.4624,1387.9946,7.1348,212.8453,0,100,0,0,0,1); //SF Pimp
AddPlayerClass(259,-2642.4956,-275.2361,7.5355,135.0036,0,0,0,0,0,1); //SF Golfer
AddPlayerClass(294,-2189.1367,609.8849,35.1641,82.8703,32,300,30,390,4,1); //SF Triad
AddPlayerClass(287,-1377.4829,466.4200,7.1875,9.6269,26,80,31,300,23,170); //SF ARMY
AddPlayerClass(50,-540.9334,-493.9939,25.5234,2.1357,26,100,30,150,16,8); //SF Mechanic
AddPlayerClass(274,-2665.4282,635.2924,14.4531,179.8403,26,100,23,170,9,1); //SF Medic
AddPlayerClass(285,-1634.6732,665.7764,7.1875,264.2244,29,360,27,100,3,1); //SF SWAT
AddPlayerClass(167,-2671.8293,267.5992,4.3359,358.9251,26,100,29,150,24,20); //SF Chicken
AddPlayerClass(295,-2664.7996,938.2767,79.7101,180.7716,27,100,24,100,28,400);//SF Toreno
AddPlayerClass(61,-1358.4431,-243.6339,14.1440,315.6869,34,18,23,30,18,10); //SF Pilot
AddPlayerClass(122,-1430.5149,1492.3304,7.1016,91.3221,24,70,27,77,28,300); //SF Da Nang

AddPlayerClass(102,832.2958,-1080.4476,24.2969,107.7328,0,0,0,0,0,0); //LV Balla
AddPlayerClass(103,832.2958,-1080.4476,24.2969,107.7328,0,0,0,0,0,0); //LV Balla
AddPlayerClass(104,832.2958,-1080.4476,24.2969,107.7328,0,0,0,0,0,0); //LV Balla
AddPlayerClass(105,2495.2207,-1687.3169,13.5152,107.7328,0,0,0,0,0,0); //LV Grove
AddPlayerClass(106,2495.2207,-1687.3169,13.5152,107.7328,0,0,0,0,0,0); //LV Grove
AddPlayerClass(107,2495.2207,-1687.3169,13.5152,107.7328,0,0,0,0,0,0); //LV Grove
AddPlayerClass(108,2459.0442,-949.4450,80.0800,107.7328,0,0,0,0,0,0); //LV Vago
AddPlayerClass(110,2459.0442,-949.4450,80.0800,107.7328,0,0,0,0,0,0); //LV Vago
AddPlayerClass(114,1761.7893,-1892.7225,13.5551,107.7328,0,0,0,0,0,0); //LV Azteca
AddPlayerClass(115,1761.7893,-1892.7225,13.5551,107.7328,0,0,0,0,0,0); //LV Azteca
AddPlayerClass(116,1761.7893,-1892.7225,13.5551,107.7328,0,0,0,0,0,0); //LV Azteca
AddPlayerClass(122,1499.2067,-937.3587,37.4407,107.7328,0,0,0,0,0,0); //LV Triad
AddPlayerClass(123,1499.2067,-937.3587,37.4407,107.7328,0,0,0,0,0,0); //LV Triad
AddPlayerClass(274,1499.2067,-937.3587,37.4407,107.7328,0,0,0,0,0,0); //LV Medic
AddPlayerClass(275,1499.2067,-937.3587,37.4407,107.7328,0,0,0,0,0,0); //LV Medic
AddPlayerClass(278,1499.2067,-937.3587,37.4407,107.7328,0,0,0,0,0,0); //LV Fireman
AddPlayerClass(280,1552.5618,-1675.3375,16.1953,107.7328,0,0,0,0,0,0); //LV Cop
AddPlayerClass(281,1552.5618,-1675.3375,16.1953,107.7328,0,0,0,0,0,0); //LV Cop
AddPlayerClass(283,1552.5618,-1675.3375,16.1953,107.7328,0,0,0,0,0,0); //LV Cop
AddPlayerClass(287,1552.5618,-1675.3375,16.1953,112.5582,0,0,0,0,0,0); //LV Army
AddPlayerClass(119,1552.5618,-1675.3375,16.1953,112.5582,0,0,0,0,0,0); //LV Swat
AddPlayerClass(214,1552.5618,-1675.3375,16.1953,269.1425,0,0,24,300,-1,-1);//LV Civillian
AddPlayerClass(215,1552.5618,-1675.3375,16.1953,269.1425,0,0,24,300,-1,-1);//LV Civillian
AddPlayerClass(216,1552.5618,-1675.3375,16.1953,269.1425,0,0,24,300,-1,-1);//LV Civillian
AddPlayerClass(251,1552.5618,-1675.3375,16.1953,269.1425,0,0,24,300,-1,-1);//LV Civillian
AddPlayerClass(253,1552.5618,-1675.3375,16.1953,269.1425,0,0,24,300,-1,-1);//LV Civillian
AddPlayerClass(254,1552.5618,-1675.3375,16.1953,269.1425,0,0,24,300,-1,-1);//LV Civillian
AddPlayerClass(255,1552.5618,-1675.3375,16.1953,269.1425,0,0,24,300,-1,-1);//LV Civillian

AddPlayerClass(280,1552.4381,-1675.6388,16.1953,91.0541,29,300,22,170,3,1); //LS Cop
AddPlayerClass(284,1527.4740,-1676.5242,5.8906,221.3641,24,70,31,250,4,1); //LS Cop
AddPlayerClass(106,2516.3032,-1674.7357,13.9314,62.4839,22,272,30,300,9,1); //LS Grove
AddPlayerClass(107,2486.7520,-1646.4600,14.0703,183.2633,22,272,30,300,9,1); //LS Grove
AddPlayerClass(108,2627.3525,-1457.3615,31.0251,5.0687,4,0,22,125,30,300); //LS Vago
AddPlayerClass(109,2633.3894,-1435.1416,30.4864,232.3824,24,150,25,50,29,200); //LS Vago
AddPlayerClass(115,1733.9663,-2098.1926,14.0366,171.6405,5,0,23,150,31,200); //LS Aazteca
AddPlayerClass(116,1804.0708,-2124.1572,13.9424,0.7752,9,0,22,150,26,100); //LS Azteca
AddPlayerClass(104,768.6387,-1696.5547,5.1554,96.1184,5,0,24,150,30,250); //LS Balla
AddPlayerClass(103,767.3694,-1655.5189,5.6094,100.1684,4,0,22,200,31,250); //LS Balla
AddPlayerClass(155,2101.5129,-1806.4567,13.5547,87.8965,4,0,26,150,30,200); //LS PizzaBoy
AddPlayerClass(211,-2627.4243,-5.6022,6.1328,271.1672,4,0,22,200,31,250); //Admin Female
AddPlayerClass(217,-2627.4243,-5.6022,6.1328,271.1672,4,0,22,200,31,250); //Admin Male

AddPlayerClass(299,2461.7205,2540.8298,10.8203,262.5851,0,0,0,0,0,0); //BF Member skin
AddPlayerClass(23,1905.5410,1812.9762,12.7437,89.0453,0,0,0,0,0,0); //YT Member skin
AddPlayerClass(59,1551.7646,-1338.1337,330.0565,336.3253,0,0,0,0,0,0); //BlackForest
AddPlayerClass(250,2033.8734,999.5925,10.8203,267.6169,4,0,22,200,31,250); //New Civiilian
AddPlayerClass(90,-1686.8712,-162.9969,17.0703,227.3001,4,0,22,200,31,250); //CandyForest Skin
SetTimer( "ZoneLoop", ZONE_LOOP_FREQUENCY, 1 );
//-------------------------51 Classes in total
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)