Hallo Ich heb meine Tore als Filterscript gescriptet un folgende Fehler erhelten:
C:\Users\XxReNeXx09\Desktop\GTARP\filterscripts\Admintore.pwn(29) : error 017: undefined symbol "PlayerInfo"
C:\Users\XxReNeXx09\Desktop\GTARP\filterscripts\Admintore.pwn(29) : warning 215: expression has no effect
C:\Users\XxReNeXx09\Desktop\GTARP\filterscripts\Admintore.pwn(29) : error 001: expected token: ";", but found "]"
C:\Users\XxReNeXx09\Desktop\GTARP\filterscripts\Admintore.pwn(29) : error 029: invalid expression, assumed zero
C:\Users\XxReNeXx09\Desktop\GTARP\filterscripts\Admintore.pwn(29) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Alles anzeigen
Das Script
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
forward admintoretimer();
//-------------------------------------------------------------------------------------------------------------------------
new admintor1;
new admintor2;
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("Admintore by XxReNeXx10");
print("--------------------------------------\n");
return 1;
}
public OnGameModeInit()
{
admintor1 = CreateObject(980, 263.98522949219, -1229.9871826172, 75.743125915527, 0, 0, 38);
admintor2 = CreateObject(980, 258.38162231445, -1233.9542236328, 75.126831054688, 0, 0, 38);
}
public OnPlayerCommandText(playerid, cmdtext[])
if (strcmp(cmdtext, "/ator", true)==0)
{
if(PlayerInfo[playerid][pAdmin] == 1337)
{
MoveObject(admintor1,269.00784301758, -1226.4298095703, 76.327224731445,38);
MoveObject(admintor2,254.78224182129, -1236.5133056641, 74.183570861816,38);
SetTimer("admintoretimer", 9000, 0);
}
return 1;
public admintoretimer()
{
MoveObject (admintor1,263.98522949219, -1229.9871826172, 75.743125915527,38);
MoveObject (admintor2,258.38162231445, -1233.9542236328, 75.126831054688,38);
return 1;
}
Bitte helft mir!
Danke im Vorraus
MFG
ReNe