C:\Users\AnaC\Desktop\supmobil.pwn(238 ) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(238 ) : warning 215: expression has no effect C:\Users\AnaC\Desktop\supmobil.pwn(238 ) : error 001: expected token: ";", but found ")" C:\Users\AnaC\Desktop\supmobil.pwn(238 ) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(238 ) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
234: new Float, Float:y, Float:z; 235: GetPlayerPos(playerid, x, y, z); 236: new car = AddStaticVehicle(480,x,y,z,1.0290,159,160) ; 237: PutPlayerInVehicle(playerid,car,0); 238: SendClientMessage(playerid, Gelb, "Du hast dir einen Cometen gespawnt"); 239: sirene1[GetPlayerVehicleID(playerid)] = CreateObject(18646,0,0,0,0,0,0,100); 240:AttachObjectToVehicle(sirene1[GetPlayerVehicleID(playerid)],GetPlayerVehicleID(playerid),-0.5,0.0,0.85,0,0,0); 241: UCL[GetPlayerVehicleID(playerid)] = 1; 242: } |
Gelb
#define Gelb 0xFFFF00AA
C:\Users\AnaC\Desktop\supmobil.pwn(239) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(239) : error 001: expected token: ";", but found "]" C:\Users\AnaC\Desktop\supmobil.pwn(239) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(239) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
sirene1[GetPlayerVehicleID(playerid)]; = CreateObject(18646,0,0,0,0,0,0,100);
try
pawn Код:
|
C:\Users\AnaC\Desktop\supmobil.pwn(239) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(239) : error 001: expected token: ";", but found "]" C:\Users\AnaC\Desktop\supmobil.pwn(239) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(239) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
sirene1[GetPlayerVehicleID(playerid);] = CreateObject(18646,0,0,0,0,0,0,100);
pawn Код:
|
C:\Users\AnaC\Desktop\supmobil.pwn(239) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(239) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(240) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(240) : error 001: expected token: ";", but found "]" C:\Users\AnaC\Desktop\supmobil.pwn(240) : error 029: invalid expression, assumed zero C:\Users\AnaC\Desktop\supmobil.pwn(240) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors. |
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new car = AddStaticVehicle(480,x,y,z,1.0290,159,160) ;
PutPlayerInVehicle(playerid,car,0);
SendClientMessage(playerid, Gelb, "Du hast dir einen Cometen gespawnt");
sirene1 = CreateObject(18646,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene1,car,-0.5,0.0,0.85,0,0,0);
#define Gelb 0xFFFF00AA
new sirene1;
CMD:attachobject(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new car = AddStaticVehicle(480,x,y,z,1.0290,159,160) ;
PutPlayerInVehicle(playerid,car,0);
SendClientMessage(playerid, Gelb, "Du hast dir einen Cometen gespawnt");
sirene1 = CreateObject(18646,0,0,0,0,0,0,100);
AttachObjectToVehicle(sirene1,car,-0.5,0.0,0.85,0,0,0);
return 1;
}