Habe jetzt folgendes:
new Test[2];
Und dann das:
if (strcmp("/test", cmdtext, true, 10) == 0)
{
Test[1]=CreateVehicle(556,2362.9404,1178.3126,34.6328,228.7247,1,1,600); // Testcar //Hier der Error
}
Aber dann diese Errors:
C:\Users\******\Desktop\test.pwn(87) : error 017: undefined symbol "Test"
C:\Users\***\Desktop\test.pwn(87) : warning 215: expression has no effect
C:\Users\****\Desktop\test.pwn(87) : error 001: expected token: ";", but found "]"
C:\Users\****\Desktop\test.pwn(87) : error 029: invalid expression, assumed zero
C:\Users\****\Desktop\test.pwn(87) : 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.