MrMonat 26 Error

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hey ich habe das Mrmonat script vom Tutorial gedownloadet damit ich
    damit scripten will
    wenn ich aber compiliere kommen diese Errors:


    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(91) : error 010: invalid function or declaration
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(171) : error 017: undefined symbol "dbhandle"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(177) : error 017: undefined symbol "dbhandle"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(211) : error 017: undefined symbol "cache_get_data"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(210) : warning 203: symbol is never used: "num_fields"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(235) : error 017: undefined symbol "mysql_function_query"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(252) : error 017: undefined symbol "mysql_function_query"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(275) : error 017: undefined symbol "mysql_function_query"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(344) : error 017: undefined symbol "cache_insert_id"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(353) : error 017: undefined symbol "mysql_function_query"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(779) : error 017: undefined symbol "cache_get_data"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(784) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(785) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(786) : error 017: undefined symbol "cache_get_field_content_float"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(787) : error 017: undefined symbol "cache_get_field_content_float"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(788) : error 017: undefined symbol "cache_get_field_content_float"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(789) : error 017: undefined symbol "cache_get_field_content_float"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(790) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(778) : warning 203: symbol is never used: "num_fields"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(800) : error 017: undefined symbol "mysql_function_query"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(807) : error 017: undefined symbol "cache_get_data"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(812) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(814) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(815) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(816) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(817) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(818) : error 017: undefined symbol "cache_get_field_content_int"
    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(819) : error 017: undefined symbol "cache_get_field_content_int"


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    26 Errors.

  • bei mir kommt das hier:


    C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(784) : error 017: undefined symbol "dbhandle"C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(785) : error 017: undefined symbol "dbhandle"C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(786) : error 017: undefined symbol "dbhandle"C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(787) : error 017: undefined symbol "dbhandle"C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(788) : error 017: undefined symbol "dbhandle"C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(789) : error 017: undefined symbol "dbhandle"C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(790) : error 017: undefined symbol "dbhandle"C:\Users\Adminstrator\Desktop\SARP2\gamemodes\script.pwn(800) : error 017: undefined symbol "dbhandle"






    cInfo[id][model]=cache_get_field_content_int(i,"model",dbhandle); <<<< Zeile 784 cInfo[id][besitzer]=cache_get_field_content_int(i,"besitzer",dbhandle); cInfo[id][c_x]=cache_get_field_content_float(i,"x",dbhandle); cInfo[id][c_y]=cache_get_field_content_float(i,"y",dbhandle); cInfo[id][c_z]=cache_get_field_content_float(i,"z",dbhandle); cInfo[id][c_r]=cache_get_field_content_float(i,"r",dbhandle); cInfo[id][db_id]=cache_get_field_content_int(i,"id",dbhandle); cInfo[id][id_x]=CreateVehicle(cInfo[id][model],cInfo[id][c_x],cInfo[id][c_y],cInfo[id][c_z],cInfo[id][c_r],-1,-1,-1); } return 1;}
    loadPlayerCars(playerid){ new query[128]; format(query,sizeof(query),"SELECT * FROM autos WHERE besitzer='%i'",sInfo[playerid][db_id]); mysql_function_query(dbhandle,query,true,"OnPlayerCarsLoad","i",playerid); <<<< Zeile 800 return 1;}