Jump 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.

Hoe kan ik voertuigen maken waar alleen RCON admins erin?

-Telepoort al gelukt!

Edited by quincy225

Featured Replies

  • Author

Misschien kunt u me ff helpen?

Misschien kunt u me ff helpen?

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(!IsPlayerAdmin(playerid) && newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) <= 40) {//deze
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "* This is an Admin Vehicle. You are not authorized to use it!");
}
}

Bij de lijn waar 'Deze' staat, daar staat een 40, alle auto's in de lijst van je AddStaticVehicles worden dan de eerste 39 Admin auto's! De 40 telt niet mee.

  • Author
Misschien kunt u me ff helpen?

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(!IsPlayerAdmin(playerid) && newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) <= 40) {//deze
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "* This is an Admin Vehicle. You are not authorized to use it!");
}
}

Bij de lijn waar 'Deze' staat, daar staat een 40, alle auto's in de lijst van je AddStaticVehicles worden dan de eerste 39 Admin auto's! De 40 telt niet mee.

Hij geeft 1 errors:

H:\Documents and Settings\Quincy.UBERLINE\My Documents\Kevin's server\gamemodes\Untitled.pwn(133) : error 010: invalid function or declaration

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Errors.

Edited by quincy225

Bij mij geeft hij geen errors...

P.s. Wat is regel 133 in jou script?

Edited by Sandra18[NL]

  • Author
Misschien kunt u me ff helpen?

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(!IsPlayerAdmin(playerid) && newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) <= 40) {//deze
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "* This is an Admin Vehicle. You are not authorized to use it!");
}
}

Bij de lijn waar 'Deze' staat, daar staat een 40, alle auto's in de lijst van je AddStaticVehicles worden dan de eerste 39 Admin auto's! De 40 telt niet mee.

Hij geeft 1 errors:

H:\Documents and Settings\Quincy.UBERLINE\My Documents\Kevin's server\gamemodes\Untitled.pwn(133) : error 010: invalid function or declaration

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Errors.

Het is al gelukt :) bedankt voor als jullie hulp :):dans:

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.

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.