10.12.2009, 00:02
Код:
public OnPlayerRequestSpawn(playerid) { if(pClass[playerid] == 1 || pClass[playerid] == 2 || pClass[playerid] == 3) { if(IsPlayerAdmin(playerid)) { SendClientMessage(playerid, color, "This skin is for admins only!"); return 0; } } return 1; } public OnPlayerRequestClass(playerid, classid) { pClass[playerid] = classid; return 1; } AddPlayerClass(271,-467.6280,2208.3828,46.4052,115.0000,4,1,31,10000,28,10000); AddPlayerClass(270,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(266,-469.4590,2207.5110,46.5850,115.0000,4,1,31,10000,28,10000); AddPlayerClass(265,-470.4734,2207.0278,46.6846,115.0000,4,1,31,10000,28,10000); AddPlayerClass(272,-467.6280,2208.3828,46.4052,115.0000,4,1,31,10000,28,10000); AddPlayerClass(269,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(217,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(211,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(165,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(166,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(164,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(163,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(286,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000); AddPlayerClass(287,-468.3654,2208.0317,46.4776,115.0000,4,1,31,10000,28,10000);