Guten Tag Liebe Community,
ich teste derzeit das GF SOM Script und jedesmal beim Compilen bekomme ich die Warnung:
SOM.pwn(16837) : warning 203: symbol is never used: "playerid"
Zteile 16837:
Code: Script
stock TextDrawCreates(playerid)
{
//Tutorial
reglog0 = TextDrawCreate(211.111099, 1.603703, "usebox");
TextDrawLetterSize(reglog0, 0.000000, 49.514602);
[...]
(Pastebin: https://pastebin.com/Pr3xTGUx)
Beim Server Start bekomme ich eine Debug Meldung:
Code: server.log
[10:05:43] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:05:43] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:05:43] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:05:43] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:05:43] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:05:43] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:05:43] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:05:45] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:05:54] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:06:03] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:06:12] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:06:21] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:06:29] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:06:38] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:06:47] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:06:56] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:07:05] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:07:14] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:07:23] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:07:32] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
[10:07:41] [debug] Run time error 20: "Invalid index parameter (bad entry point)"
Alles anzeigen
Und falls Ihr jetzt ankommt dasn main() fehlt, tut es nicht
Code: Script
main()
{
new string[50];
print(" ");
print(" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _");
print("_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _");
format(string, sizeof(string), "Scriptversion %s", GAMEMODEVERSION);
print(string);
print(" ________________________________ ");
print(" | | ");
print(" | | ");
print(" | HostName: SOM Reallife | ");
print(" | Sa-Mp: 0.3.7 | ");
print(" | GameMode: Reallife | ");
print(" | MapName: San Andreas | ");
print(" | by: Rocky Balboa | ");
print(" | Gm: v0.5 | ");
print(" |________________________________| ");
}
Alles anzeigen
Hoffentlich könnt Ihr mir helfen.