Így raktam be, de nem jó:
public OnPlayerSpawn(playerid)
{
SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);
if(IsPlayerNPC(playerid))
{
/*if(egyezik(PlayerName(playerid), \"NPC_Arveres\"))
{
//SetPlayerPos(playerid, -1661.306, 1203.361, 21.156);
//SetPlayerFacingAngle(playerid, 336.907);
SetPlayerSkin(playerid, 141);
//SendClientMessageToAll(COLOR_WHITE, \"NPC SPAWNED\");
}
else if(egyezik(PlayerName(playerid), \"NPC_Buszsofor\"))
PutPlayerInVehicle(playerid, Buszok[0], 0);*/
//SetTimerEx(\"NPCSpawn\", 3000, false, \"d\", playerid);
NPCSpawn(playerid);
return 1;
}
if(Logged(playerid) == 0)
return 1;
else if(PlayerPaintballing[playerid] != 1)
SpawnVedelem[playerid] = 5;
/*if(Skinsel[playerid] == 1)
{
PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
Skinsel[playerid] = 0;
}*/
//TextDrawShowForPlayer(playerid, Textdraw2);
STDPlayer[playerid] = 0;
//if(LMT(playerid, LMUNKA_SCPD) || LMT(playerid, LMUNK_SFPD) || LMT(playerid, LMUNKA_LSMD) || LMT(playerid, LMUNKA_SFMD) || LMT(playerid, LMUNKA_FBI) || LMT(playerid, LMUNKA_KATONA))
if(PlayerInfo[playerid][pChar] > 0 && OnDuty[playerid] || PlayerInfo[playerid][pChar] > 0 && !LegalisSzervezetTagja(playerid) && !Civil(playerid))
SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
else
SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
SetPlayerSpawn(playerid);
SetPlayerToTeamColor(playerid);
PlayerFixRadio(playerid);
for(new i = 0; i < sizeof(Turfs); i++)
{
GangZoneShowForPlayer(playerid, i, TurfInfo[zColor]);
}
/*if(MapIconsShown[playerid] != 1)
{
MapIconsShown[playerid] = 1;
for(new i = 0; i < sizeof(BizzInfo); i++)
{
SetPlayerMapIcon(playerid,i + 1,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ],36,COLOR_LIGHTRED);
}
}*/
PlayerInfo[playerid][pSpawned] = 1;
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 100);
#if defined JohnCucc
if(!LegalisSzervezetTagja(playerid) && !Civil(playerid) || Admin(playerid, 1337))
TeruletekMutatasa(playerid);
#endif
GangZoneShowForPlayer(playerid, Fegyenctelep, COLOR_GREEN);
GangZoneShowForPlayer(playerid, Fegyenctelep2, COLOR_GREEN);
return 1;
}
Dupla hozzászólás automatikusan összefûzve. ( 2012. március 28. - 21:43:58 )
Vagy hova kellene rakni?
Dupla hozzászólás automatikusan összefûzve. ( 2012. március 28. - 21:44:19 )
Vagy hova kellene rakni?