Jump to content

c0sminvl

Membru
  • Posts

    42
  • Joined

  • Last visited

    Never

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

c0sminvl's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Incearca asa: public OnPlayerCommandText(playerid, cmdtext[]) { if( strcmp(cmdtext, "/vamasf", true)==0) { if(PlayerToPoint(25.0,playerid,2128.0864,-1135.3912,25.5855) { MoveObject(vamasf, 57.926933, -1539.014282, 9.126878, 2); GivePlayerMoney(playerid, -1000); SendClientMessage(playerid, COLOR_RED, "Vama A Fost Deschisa.Ti-am luat 1000$"); SetTimerEx("Actiunea", 2 * 1000, 0, "i", playerid); } } if( strcmp(cmdtext, "/vamals", true)==0) { if(PlayerToPoint(25.0,playerid,2128.0864,-1135.3912,25.5855) { MoveObject(vamals, 60.370384, -1526.173584, 9.289394, 2); GivePlayerMoney(playerid, -1000); SendClientMessage(playerid, COLOR_RED, "Vama A Fost Deschisa.Ti-am luat 1000$"); SetTimerEx("Actiuneavamasf", 2 * 1000, 0, "i", playerid); return 1; } } return 0; } Daca tot da warning-urile inseamna ca nu ai publicul PlayerToPoint . Iti recomand sa bagi comanda + obiectele in gamemode.
  2. Sa stii ca nu mi-am dat seama , daca citeai mai atent decat in dialogul asta am kick(playerid) , dar kick se duce si in filterscript-uri.
  3. -------------------------------------
  4. O rezolvare si pentru noi? E cumva de la gTeam ?
  5. [REZOLVAT] Am rezolvat singur.
  6. Am fs-ul asta http://forum.sa-mp.com/showthread.php?t=275365&page=4 , platesc 6 euro cosmote pentru mutarea masei de biliard + bilele si createpolygon-urile. Astept pm-uri .
  7. GangZoneFlashForAll http://wiki.sa-mp.com/wiki/GangZoneFlashForAll
  8. Sau apasa pe butonul F5 si asteapta.
  9. -edit- Am rezolvat singur :-j .
  10. [pawn]public settime(playerid) { //News new string[256],year,month,day; new ServerHour, ServerMinute, ServerSecond; //Get gettime(ServerHour,ServerMinute,ServerSecond); getdate(year, month, day); for(new i = 0; i < GetMaxPlayers(); i++){SetPlayerTime(i, ServerHour, ServerMinute);} if(ServerHour == 19 && ServerMinute == 50 && ServerSecond == 1) { SendClientMessageToAll(COLOR_WHITE, " In 5 minute se va verifica si se va declara castigatorul la Lotto"); SendClientMessageToAll(COLOR_WHITE, " Foloseste si tu /lotto [numar] , poate vei castiga"); } else if(ServerHour == 19 && ServerMinute == 52 && ServerSecond == 0) { new rand = random(80); if(rand < 77) { rand += 3; } Lotto(rand); } format(string, sizeof string, "~w~%d/~w~%s%d/~w~%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year); TextDrawSetString(Date, string); format(string, sizeof string, "~w~%s%d:~w~%s%d:~w~%s%d", (ServerHour < 10) ? ("0") : (""), ServerHour, (ServerMinute < 10) ? ("0") : (""), ServerMinute, (ServerSecond < 10) ? ("0") : (""), ServerSecond); TextDrawSetString(Time2, string); }[/pawn] Ce am gresit ? de ce apare de 2 ori !?
  11. c0sminvl

    obiect

    Imi puteti spune va rog cum se numeste obiectul acesta si mai precis id-ul lui ? am cautat dar nu gasesc..
  12. Am rezolvat , am facut singur dar cum fac cu fisierul .tde de la [fs] textdraw editor ?
  13. -dublu post de la net scuzati-
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.