public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){if(vehicleid == 523 || 427 || 490 || 497 || 425 || 520 || 528 ||596 || 598 || 597 || 599 || 432 || 601){if(!IsPlayerAdmin(playerid)){SendClientMessage(playerid,0xff0000AA, \"Ezt a jármûvet csak rcon adminisztrátor használhatja.\");ClearAnimations(playerid);}}return 1;}
#include <a_samp>#include ladminpublic OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){if(vehicleid == 523 ||427 || 490 || 497 || 425 || 520 || 528 ||596 || 598 || 597 || 599 || 432 || 601){if(!IsPlayerLuxAdmin(playerid)){SendClientMessage(playerid,0xff0000AA, \"Ezt a jármûvet csak rcon adminisztrátor használhatja.\");ClearAnimations(playerid);}}return 1;}
#include <a_samp>#include ladminpublic OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){if(vehicleid == 523 ||427 || 490 || 497 || 425 || 520 || 528 ||596 || 598 || 597 || 599 || 432 || 601){if(!IsPlayerLAdmin(playerid)){SendClientMessage(playerid,0xff0000AA, \"Ezt a jármûvet csak rcon adminisztrátor használhatja.\");ClearAnimations(playerid);}}return 1;}
E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\gamemodes\\RA.pwn(239) : error 001: expected token: \";\", but found \"-identifier-\"
#include <a_samp>public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){if(vehicleid == 523 ||427 || 490 || 497 || 425 || 520 || 528 ||596 || 598 || 597 || 599 || 432 || 601){if(!IsPlayerAdmin(playerid)){SendClientMessage(playerid,0xff0000AA, \"Ezt a jármûvet csak rcon adminisztrátor használhatja.\");ClearAnimations(playerid);}}return 1;}
stock IsPlayerLuxAdmin(playerid){new name[MAX_PLAYER_NAME];GetPlayerName(playerid, name, sizeof(name));new file[256], tmp, tmp2;format(file,256,\"/LuxAdmin/Accounts/%s.sav\",udb_encode(name));tmp = dini_Int(file,\"Level\");tmp2 = dini_Int(file,\"Loggedin\");if( (IsPlayerConnected(playerid)) && (tmp > 0) && (tmp2 == 1) )return true;else return false;}}
#include <ldudb>
stock IsPlayerLuxAdmin(playerid){new name[MAX_PLAYER_NAME];GetPlayerName(playerid, name, sizeof(name));new file[256], tmp, tmp2;format(file,256,\"/LuxAdmin/Accounts/%s.sav\",udb_encode(name));tmp = dini_Int(file,\"Level\");tmp2 = dini_Int(file,\"Loggedin\");if( (IsPlayerConnected(playerid)) && (tmp > 0) && (tmp2 == 1) )return true;else return false;}