Einmal die Errors
C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(20941) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(20941) : error 017: undefined symbol "entercar"
C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(20941) : error 017: undefined symbol "carid"
C:\Dokumente und Einstellungen\Administrator\Desktop\BlodZ\gamemodes\BlodZ.pwn(20941) : 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.
Und hier einmal die Zeilen
if(strcmp(cmd, "/entercar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{Benutze: /entercar [carid]");
return 1;
}
new testcar = strval(tmp);
if (PlayerInfo[playerid][pAdmin] >= 3)
{
PutPlayerInVehicle(playerid, testcar, 1);
SendClientMessage(playerid, COLOR_GRAD1, " You have been teleported");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}