*** This title is not descriptive - ******
#1

Hey guys i don't know this script............ i know that u will help me ....









The problem is ======== I want to make the server take money from player when entering the club, which function/command i should use ?
Reply
#2

Well the command you should use is the /enter command. I assume you are learning to script though so I imagine you're using something along the lines of NGRP's script. If you are using that script, you would probably be best off setting a business variable for "entry price" or something like that.

My advice: It may be a little complicated. Start somewhere else rather than diving into a big script.
Reply
#3

Here You Go
but change the checkpointid if its not the same name of the club in ur script anyways.....

pawn Код:
if(checkpointid == Club)
{
    if(GetPlayerMoney(playerid, >=1500)
    {
        GivePlayerMoney(playerid, -1500)
    }
    else SendClientMessage(playerid, 0xF60000AA, "You Don't Have Enough Money To Enter The Club.");
}
Reply
#4

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)