Jump to content
  • 0

probleme mici cu KillTimer



2 answers to this question

Recommended Posts

faci o variabila,globala

new Timer_NoMoney;
//pui cand intra in masina,sau la ce te refereai tu

forward GiveSomeMoney(playerid);
public GiveSomeMoney(playerid)
return 1;
//si cand iese din masina
//la OnPlayerStateChange
if (newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Similar Content

    • By VenoMarius ERROR404
      Nu inteleg dece in data base la jobs am 8 joburi iar in gm pe server cand dau /jobs sunt 7 ?

      Poza 2

    • By Rby Robert
      Salut incerc sa conectez un panel la gm dar imi da o eroare....
      [24-Aug-2021 17:25:46 Europe/Bucharest] PHP Parse error:  syntax error, unexpected 'else' (T_ELSE), expecting end of file in /home/dtyroman/public_html/panel/inc/header.inc.php on line 7
      Nu stiu ce sa ii fac am incercat toate modele 
      daca sterg asta din panel/inc/header.inc.php
      else {
          if(Config::isAdmin(Config::getUser())) {
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_tickets` WHERE `Status` = 0'); $get-
              $tickets = $get->rowCount();
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_unban` WHERE `Status` = 0'); $get->execute
              $unban = $get->rowCount();
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_complaints` WHERE `Status` = 0'); $get-
              $complaints = $get->rowCount();
          } else {
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_tickets` WHERE `Status` = 0 AND `UserID` =
      ?'); $get->execute(array(Config::getUser()));
              $tickets = $get->rowCount();
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_unban` WHERE `Status` = 0 AND `UserID` =
      ?'); $get->execute(array(Config::getUser()));
              $unban = $get->rowCount();
              $get = Config::$g_con->prepare('SELECT `ID` FROM `panel_complaints` WHERE `Status` = 0 AND `UserID`
      = ? OR `Status` = 0 AND `AccusedID` = ?'); $get->execute(array(Config::getUser(),Config::getUser()));
              $complaints = $get->rowCount();
      Merge dar nu pot sa ma loghez adica imi da pagina alba
    • By St3f4n36
      Cum as putea fac urmatoarea chestie:
      Daca intr-un dialog imi apare ca primeste x bani daca apasa cazul 1 ( banii formati cu new money = 100 + rand(100); )
      si dupa sa imi trimita un mesaj tot cu aceasi suma de bani x. Trebuie salvata intr-o variabila sau cum?
    • By FlobertRO
      Buna , am si eu o problema . Mi-se restarteaza serverulul random . In server_log am gasit asta : 
      Stie cineva ce pot face  Va rog ❤️ . Multumesc frumos
      [23:17:26] [join] rezana has joined the server (1:---------------------) [23:17:26] [debug] Run time error 4: "Array index out of bounds" [23:17:26] [debug] Accessing element at index 1 past array upper bound 0 [23:17:26] [debug] AMX backtrace: [23:17:26] [debug] #0 00200b24 in ?? (... <1 argument>) at GM.pwn:8108 [23:17:26] [debug] #1 000aef80 in public MP_OPC (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_hooks/impl.inc:633 [23:17:26] [debug] #2 native CallLocalFunction () from samp03svr [23:17:26] [debug] #3 0000c77c in public SSCANF_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\mSelection.inc:432 [23:17:26] [debug] #4 00003210 in public Itter_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\sscanf2.inc:236 [23:17:26] [debug] #5 00001684 in public OnPlayerConnect (playerid=1) at C:\Users\Florin\Dxda\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_iterate.inc:646
    • By Mr.WeeD
      Buna tuturor daca ai intrat aici inseamna ca vrei sa ma ajuti! 
      Ei bine uite am o problema cand urc panel-ul am conectat baza de date 
      si cand intru pe website imi zice asta [ Something went wrong. If you are the administrator, check error_log. ]
      iar in Error_log imi zice asta [ SQLSTATE[HY000] [1045] Access denied for user 'client776_samp'@'hosting3.gazduirejocuri.ro' (using password: YES) ]
      sper ca l-am urcat unde trebuie [ftp - public_html ]
  • Recently Browsing   0 members

    No registered users viewing this page.

  • 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.