06.10.2011, 10:51
Hi There,
i was trying to script a admin vehicle to work with the admin system i use which is LuxAdmin V1.5 i did all i used to which was
Then because i dont have a built in admin system tryed to edit to let admin players enter not just Rcon admins so did all the same apart from the end code
But i get this error:
Does anyone know what is wrong ? if you do please reply i would be most please.
Thanks
i was trying to script a admin vehicle to work with the admin system i use which is LuxAdmin V1.5 i did all i used to which was
Код:
new Admin_Vehicle;
Код:
Admin_Vehicle = CreateVehicle(415,1544.1481,-1659.2570,5.6624,89.9421,0,0,5000);
Код:
if(vehicleid == Admin_Vehicle && !IsPlayerAdmin(playerid)) { ClearAnimations(playerid); SendClientMessage(playerid, 0xAA3333AA, "This vehicle is for admins only!"); }
Код:
if(vehicleid = Admin_Vehicle && (AccInfo[playerid][Level] >= 1 || IsPlayerAdmin(playerid)) { ClearAnimations(playerid); SendClientMessage(playerid, 0xAA3333AA, "This vehicle is for admins only!"); }
Код:
C:\Users\.....\Desktop\Fas FreeRoam\filterscripts\LuxAdmin.pwn(7839) : warning 217: loose indentation C:\Users\......\Desktop\Fas FreeRoam\filterscripts\LuxAdmin.pwn(7839) : warning 211: possibly unintended assignment C:\Users\......\Desktop\Fas FreeRoam\filterscripts\LuxAdmin.pwn(7840) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Thanks