24.05.2012, 16:57
1 - use this function https://sampwiki.blast.hk/wiki/Automatic_Gates
2 -use this tutorial pretty simple https://sampforum.blast.hk/showthread.php?tid=300316
3 - i don't get what you mean...
4 - Here is the CMD to get all.
5 - Here is the function to make Icons https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
2 -use this tutorial pretty simple https://sampforum.blast.hk/showthread.php?tid=300316
3 - i don't get what you mean...
4 - Here is the CMD to get all.
pawn Код:
CMD:getall(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin] >= 7)
{
new Float:x,Float:y,Float:z, interior = GetPlayerInterior(playerid);
GetPlayerPos(playerid,x,y,z);
new pCount;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i) || i == playerid) continue;
pCount++;
PlayerPlaySound(i,1057,0.0,0.0,0.0);
SetPlayerPos(i,x+(playerid/4)+1,y+(playerid/4),z);
SetPlayerInterior(i,interior);
}
if(pCount == 0) return SendClientMessage(playerid,COLOR_RED,"No players online!");
new string[128];
format(string,sizeof(string),"|| Administrator %s has teleported all players! ||", Name(playerid));
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
}
else return SendClientMessage(playerid,COLOR_RED,"You need to be level 7 to use that command!");
return 1;
}

