[pawn] if(!strcmp(\"/nyit\", cmdtext, true))
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(!strcmp(name,\"név\",true)) return SendClientMessage(playerid,0x0ffffff,\"Hiba:Nincs jogod a kaput kinyitni!\"); //név helyére a leader nevét
{
MoveObject(kapu,x,y,z,2);
SendClientMessage(playerid,0x0ffffff,\"Kinyitottad a kaput\");
}
}
return 1; [/pawn]