i ispod imas:
SetPlayerPos(playerid, 330.6825,163.6688,1014.1875);i tu stavi svoje kordinate!
Naš forum je uspješno migriran na novu platformu. Svi vaši podaci, računi i sadržaj su prebačeni na GTABLKN.
Prevuci gore ili dole za pozicioniranje
Izgleda da [ПГ]Душан trenutno ne radi ništa
SetPlayerPos(playerid, 330.6825,163.6688,1014.1875);public SetPlayerSpawn(playerid)
public OnPlayerSpawn(playerid)
new bool:auts;forward count4();
forward count3();
forward count2();
forward count1();
forward countgo();
forward stop(); if(strcmp(cmdtext,"/count",true) == 0)
{
if (PlayerInfo >= 1 || PlayerInfo >= 1)
{
new Float:X, Float:Y, Float:Z;
new pName;
if (auts == false)
{
auts = true;
GetPlayerName(playerid, pName, 30);
format(string, 280, "*** %s je zapoceo brojanje.", pName);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
foreach (Player, i)
{
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 5 ~g~-",1000,3);
GetPlayerPos(i, X,Y,Z);
}
SetTimer("count4",1000,0);
SetTimer("count3",2000,0);
SetTimer("count2",3000,0);
SetTimer("count1",4000,0);
SetTimer("countgo",5000,0);
SetTimer("stop",6000,0);
}
}
else
{
SendClientMessage(playerid, 0xFF9900AA, "Vec Je pocelo!");
return 1;
}
}public count4()
{
new Float:X, Float:Y, Float:Z;
foreach (Player, i)
{
GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 4 ~g~-",1000,3);
GetPlayerPos(i, X,Y,Z);
}
}
public count3()
{
new Float:X, Float:Y, Float:Z;
foreach (Player, i)
{
GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 3 ~g~-",1000,3);
GetPlayerPos(i, X,Y,Z);
}
}
public count2()
{
new Float:X, Float:Y, Float:Z;
foreach (Player, i)
{
GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 2 ~g~-",1000,3);
GetPlayerPos(i, X,Y,Z);
}
}
public count1()
{
new Float:X, Float:Y, Float:Z;
foreach (Player, i)
{
GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 1 ~g~-",1000,3);
GetPlayerPos(i, X,Y,Z);
}
}
public countgo()
{
new Float:X, Float:Y, Float:Z;
foreach (Player, i)
{
GetPlayerPos(i, X,Y,Z);
GameTextForPlayer(i,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~]~g~-~g~START~g~-~y~]~g~-",1000,3);
PlayerPlaySound(i,1057,X,Y,Z);
}
}
public stop()
{
auts = false;
}
new bool:auts;
if(strcmp(cmdtext,"/count",true) == 0)
{
if (PlayerInfo >= 1 || PlayerInfo >= 1)
{
new Float:X, Float:Y, Float:Z;
new pName;
if (auts == false)
{
auts = true;
GetPlayerName(playerid, pName, 30);
format(string, 280, "*** %s je zapoceo brojanje.", pName);
SendClientMessageToAll(COLOR_LIGHTBLUE, string);
foreach (Player, i)
{
GameTextForPlayer(i, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~g~-~y~ 5 ~g~-",1000,3);
GetPlayerPos(i, X,Y,Z);
}
SetTimer("count4",1000,0);
SetTimer("count3",2000,0);
SetTimer("count2",3000,0);
SetTimer("count1",4000,0);
SetTimer("countgo",5000,0);
SetTimer("stop",6000,0);
}
}
else
{
SendClientMessage(playerid, 0xFF9900AA, "Vec Je pocelo!");
return 1;
}
}
Nivo 4
8 / 20 otključano