[Help] Park Command
#1

I need to edit Park Command only for Junior Adviser or admins - http://pastebin.com/2fNfbGa7

Also i'm having bug with houses someone is having a house which doesn't exists in server!

Also having final bug which is LSHIFT to stop the Animation!

-

I'd really appreciate if you guys will help me about those!
Reply
#2

whats the enum/var for the advisor and the animation stopping code?

try using a clean db for the houses instead of using the one you downloaded the ngg script from
Reply
#3

Adviser is like pAdviser and about animation stopping code is not founded yet!

That's why i'm requesting your help guys, also i have removed all houses but still some new players are owning a houses which are not existing in Server some id's.

Cheers
Reply
#4

For the animation, do a final check and search for these;

KEY_SPRINT
~k~~PED_SPRINT~

in the gamemode, and for the parking, replace
Код:
CMD:park(playerid, params[])
{
        if(PlayerInfo[playerid][pVehicleKeysFrom] != INVALID_PLAYER_ID)
with this
Код:
CMD:park(playerid, params[])
{
        if(PlayerInfo[playerid][pAdviser] != 1 && PlayerInfo[playerid][pAdmin] < 1) return SendClientMessageEx(playerid, COLOR_WHITE, "Advisers and Admins are only allowed to use this command.");
        if(PlayerInfo[playerid][pVehicleKeysFrom] != INVALID_PLAYER_ID)
I think this'll do it, the admins+advisers only part confused me so it might not work
Reply
#5

In this code you have shown i believe also Players can park a car and i wanna Adviser+ which is >=1, thanks anyways.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)