I completely forgot about this thread, so I'm bringing it back.
How am I supposed to know what you need before even asking? Anyways, here it is:
PHP код:
public OnPlayerConnect(playerid)
{
AdminDuznost[playerid] = 0;
PosaoVMZagreb[playerid] = 0;
Jetpack[playerid] = 0;
Oprema[playerid] = 0;
KupujeDrogu[playerid] = 0;
KoristiDrogu[playerid] = 0;
Logovan[playerid] = 0;
new string[200];
new namestring = strfind(ImeIgraca(playerid), "_", true);
if(namestring == -1 && PlayerInfo[playerid][pAdmin] != 6)
{
SCM, "[ E ] | {FFFFFF}Kikovani ste sa servera zbog NON-RP imena. Ime mora biti u formatu Ime_Prezime, naprimjer Marko_Markovic.");
format(string, sizeof(string),"[ E ] | {FFFFFF}Igrac %s nije koristio RP ime i zbog toga je kikovan sa servera.", ImeIgraca(playerid));
SCMTA(ZUTA, string);
SetTimerEx("ImeKick", 500, false, "i", playerid);
return 1;
}
RemoveBuildingForPlayer(playerid, 1261, 1408.6563, -1407.1719, 28.6250, 0.25);
RemoveBuildingForPlayer(playerid, 4239, 1407.9063, -1407.3984, 33.9844, 0.25);
RemoveBuildingForPlayer(playerid, 1267, 1408.6563, -1407.1719, 28.6250, 0.25);
RemoveBuildingForPlayer(playerid, 4757, 1404.1406, -1309.1328, 43.2891, 0.25);
RemoveBuildingForPlayer(playerid, 1266, 1371.4688, -1268.2188, 37.3359, 0.25);
RemoveBuildingForPlayer(playerid, 4736, 1404.1406, -1309.1328, 43.2891, 0.25);
RemoveBuildingForPlayer(playerid, 1260, 1371.4688, -1268.2188, 37.3359, 0.25);
RemoveBuildingForPlayer(playerid, 4588, 1405.8750, -1254.7891, 34.0000, 0.25);
RemoveBuildingForPlayer(playerid, 691, 1144.0781, -2076.3750, 68.1016, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 1137.5078, -2070.0313, 71.7813, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 1138.4375, -2003.9141, 71.7813, 0.25);
RemoveBuildingForPlayer(playerid, 691, 1208.6484, -2000.0703, 67.3906, 0.25);
RemoveBuildingForPlayer(playerid, 691, 1205.2734, -1987.8203, 63.7891, 0.25);
RemoveBuildingForPlayer(playerid, 1388, 1238.3750, -1258.2813, 57.2031, 0.25);
RemoveBuildingForPlayer(playerid, 1391, 1238.3750, -1258.2734, 44.6641, 0.25);
SetPlayerColor(playerid, -1);
SetTimer("KonektPoruke", 1000, false);
return 1;
}