Skip to content
View in the app

A better way to browse. Learn more.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Admin kick Text

hallo allemaal ik heb Hulp nodig met de Volgende Script:

new playername[MAX_PLAYER_NAME], string[128];

format(string,sizeof(string),"%s has been kicked by Administrator [reason: %s] ",playername,HOE MAAK IK HIER EEN REASON WAT IK SCHRIJF?); SendClientMessageToAll(grey,string);

als ik bijv. "/kick 1 Hacker" doe dat ik die "Hacker" bij Reason zie.

Ik hoop dat iemand mij kan helpen :)

Bedankt!

Featured Replies

Wat gebruik jij om je commands te maken? Voorbeeldje met zcmd en sscanf2:

CMD:kick(playerid, params[])
{
   if(!IsPlayerAdmin(playerid))
       return SendClientMessage(playerid, COLOR_ERROR, "This command is only available to admins!");

   new
       playername[24],
       targetname[24],
       targetid,
       output[128],
       reason[64]; 

   if(sscanf(params, "uS(No reason defined)", targetid, reason))
       return SendClientMessage(playerid, COLOR_ERROR, "Usage: /kick [Playerid/PartOfName] <reason>");

   GetPlayerName(playerid, playername, sizeof(playername));
   GetPlayerName(targetid, targetname, sizeof(targetname));

   format(output, sizeof(output), "%s (%d) has been kicked by Admin %s (%d) for: %s", 
       targetname, targetid, playername, playerid, reason);
   SendClientMessageToAll(COLOR_RED, output);
   Kick(targetid);
   return 1;
}

Edited by Big Boss

  • Author

Wat gebruik jij om je commands te maken? Voorbeeldje met zcmd en sscanf2:

CMD:kick(playerid, params[])
{
   if(!IsPlayerAdmin(playerid))
       return SendClientMessage(playerid, COLOR_ERROR, "This command is only available to admins!");

   new
       playername[24],
       targetname[24],
       targetid,
       output[128],
       reason[64]; 

   if(sscanf(params, "uS(No reason defined)", targetid, reason))
       return SendClientMessage(playerid, COLOR_ERROR, "Usage: /kick [Playerid/PartOfName] <reason>");

   GetPlayerName(playerid, playername, sizeof(playername));
   GetPlayerName(targetid, targetname, sizeof(targetname));

   format(output, sizeof(output), "%s (%d) has been kicked by Admin %s (%d) for: %s", 
       targetname, targetid, playername, playerid, reason);
   SendClientMessageToAll(COLOR_RED, output);
   Kick(targetid);
   return 1;
}

Heeeeel Erg Bedankt ik heb het nu Gefixd Tyvm :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.