29.11.2009, 16:41
hi, i need an system wich lock the car i want to for using it with only rcon or admin ( in ladmin4v2) so i can creat an admin island .
thx for the help
thx for the help
C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(104) : error 001: expected token: ")", but found "{" C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(105) : error 017: undefined symbol "COLOR_WHITE" C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(107) : warning 217: loose indentation C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(110) : warning 217: loose indentation C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(114) : error 017: undefined symbol "COLOR_WHITE" C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(118) : warning 217: loose indentation C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(118) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(118) : error 004: function "OnPlayerExitVehicle" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(123) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(123) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(123) : error 004: function "OnPlayerStateChange" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(128) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(128) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(128) : error 004: function "OnPlayerEnterCheckpoint" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(133) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(133) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(133) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(138) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(138) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(138) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(143) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(143) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(143) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(148) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(148) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(148) : error 004: function "OnRconCommand" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(153) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(153) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(153) : error 004: function "OnPlayerRequestSpawn" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(158) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(158) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(158) : error 004: function "OnObjectMoved" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(163) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(163) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(163) : error 004: function "OnPlayerObjectMoved" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(168) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(168) : error 029: invalid expression, assumed zero C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(168) : error 004: function "OnPlayerPickUpPickup" is not implemented C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(173) : warning 225: unreachable code C:\Documents and Settings\Famille\Desktop\samp03asvr_R3_win32\gamemodes\new.pwn(173) : error 029: invalid expression, assumed zero Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
new AdminCar;
AdminCar = AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if (vehicleid == AdminCar && !ispassenger)
{
if(IsPlayerAdmin(playerid))
{
SendClientMessage(playerid,COLOR_WHITE, "Drive safe & set a good example!");
}
else
{
new Float:Xx,Float:Yy,Float:Zz,Float:Aa;
GetPlayerPos(playerid,Xx,Yy,Zz);
GetPlayerFacingAngle(playerid,Aa);
SetPlayerPos(playerid,Xx,Yy,Zz);
SetPlayerFacingAngle(playerid,Aa);
SendClientMessage(playerid,COLOR_WHITE, "You Can't drive this Vehicle!");
}