Results 1 to 2 of 2

Thread: [Extension] MySQL

  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,010
    Thanks
    2,102
    Thanked 1,083 Times in 753 Posts

    [Extension] MySQL

    Hey all,

    the most important MySQL-functions from the C-API are binded to CoDScript.

    PHP Code:
    mysql_init()
    mysql_real_connect(mysqlhostuserpassdbport)
    mysql_close(mysql)
    mysql_query(mysqlquery)
    mysql_errno(mysql)
    mysql_error(mysql)
    mysql_affected_rows(mysql)
    mysql_store_result(mysql)
    mysql_num_rows(result)
    mysql_num_fields(result)
    mysql_field_seek(resultposition)
    mysql_fetch_field()
    mysql_fetch_row(result)
    mysql_free_result(result
    A full example with money and ranks: http://killtube.org/downloads/cod2/e...ersistence.gsc

    Have fun scripting
    timescale 0.01

  2. #2
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    I'm currently porting the _stattracking.gsc file to support this mysql plugin. Expect something soon

  3. The Following User Says Thank You to IzNoGoD For This Useful Post:

    kung foo man (14th May 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •