Jump to content
  • 0

pomoc Vypína se server


Domino

Dotaz

Čau, potřebuju pomoct vypíná se mi server po přídání těchto warpů

 

if (strcmp("/sf", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /sf [ ! ]");

SetPlayerPos(playerid, -1614.5040,731.7487,13.0416,348.6936);

return 1;

}

if (strcmp("/lv", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /lv [ ! ]");

SetPlayerPos(playerid, 2414.7256,1130.3811,10.3968,343.5894);

return 1;

}

if (strcmp("/ls", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /ls [ ! ]");

SetPlayerPos(playerid, 1779.0985,-1696.8611,13.0770,270.1799);

return 1;

}

if (strcmp("/draglv", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /draglv [ ! ]");

SetPlayerPos(playerid, 1473.9210,1780.9508,10.3794,72.1012);

return 1;

}

if (strcmp("/dragls", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /dragls [ ! ]");

SetPlayerPos(playerid, -1671.2389,-174.6529,13.7106,93.1223);

return 1;

}

if (strcmp("/dragsf", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /dragsf [ ! ]");

SetPlayerPos(playerid, -1614.5040,731.7487,13.0416,348.6936);

return 1;

}

if (strcmp("/bigtunel", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /bigtunel [ ! ]");

SetPlayerPos(playerid, 1420.5726,-2492.5190,13.1033,93.1224);

return 1;

}

if (strcmp("/ostrov", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /ostrov [ ! ]");

SetPlayerPos(playerid, -2623.0879,2177.0605,4003.2861,264.6382);

return 1;

}

if (strcmp("/skatepark", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /skatepark [ ! ]");

SetPlayerPos(playerid, -954.5678,2717.0439,45.4231,336.2947);

return 1;

}

if (strcmp("/stadion", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /stadion [ ! ]");

SetPlayerPos(playerid, 1944.7495,-1372.5892,18.1282,336.2947);

return 1;

}

if (strcmp("/stadion", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /stadion [ ! ]");

SetPlayerPos(playerid, 1099.9292,1603.9835,12.5469,355.8761);

return 1;

}

if (strcmp("/stuntsf", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /stuntsf [ ! ]");

SetPlayerPos(playerid, -2139.3652,-215.2812,35.3203,355.8761);

return 1;

}

if (strcmp("/driftpoust", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /driftpoust [ ! ]");

SetPlayerPos(playerid, -307.5253,1514.7635,74.9180,269.8281);

return 1;

}

if (strcmp("/driftls", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /driftls [ ! ]");

SetPlayerPos(playerid, 2320.3948,1448.6752,42.8203,265.8760);

return 1;

}

if (strcmp("/driftsf", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /driftsf [ ! ]");

SetPlayerPos(playerid, 1264.1234,-2034.2374,59.3021,265.8760);

return 1;

}

if (strcmp("/driftlv", cmdtext, true, 10))

{

SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /driftlv [ ! ]");

SetPlayerPos(playerid, -2408.1377,-597.8226,132.6484,355.8761);

return 1;

}

 

Link to comment
Share on other sites

5 odpovědí na tuto otázku

Recommended Posts

  • 0
  • Globální moderátor

1. napiš více info

2. SendClientMessageToAll(0xFF0000FF, "Hráč %s se odwarpoval na /sf [ ! ]"); je totální blbost

Link to comment
Share on other sites

  • 0

Vy se mu smejete, ale vem si ze pawno je jediny jazyk, u ktereho jsem videl ze musis pouzivat format zvlast. Jine jazyky jako php nebo c++ ma formatove funkce rovnou v odesilacich funkcich. Nebo jako ma pawno printf.

Link to comment
Share on other sites

  • 0

NoNoNo jak si se vytahoval jakej si dokonalej pawner tak nic moc . . . a fakt chce help ne blbe připomínky . . . .
 

stock GetName(playerid)
{
new str[MAX_PLAYER_NAME];
GetPlayerName(playerid,str,sizeof(str));
return str;
}

new str[100];
format (str, sizeof(str), "[ ! ]Hráč %s Se portl na /sf !", GetName(playerid));
SendClientMessageToAll(Barva, str);
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...