[help] how to add to gm
#1

how do i add a bit to the gm
i got a bit for /pay to open a object but i dont know how to add it its not set as a fs but help
THIS IS A PWANO SCRIPT PLEASE HELP
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/pay"cmdtexttrue10) == 0)
    {
        if(
IsPlayerInRangeOfPoint(playerid,x,y,z))return SendClientMessage(playerid,PUT THE COLOR HERE,"You are too far from the gate to pay");
        if(
GetPlayerMoney(playerid, < 500))return SendClientMessage(playerid,PUT THE COLOR HERE,"You do not have enough money");
        if(
GetPlayerMoney(playerid, > 500))return SendClientMessage(playerid,PUT THE COLOR HERE,"You have just paid and the gate is open");
        {
        
MoveObject(objectid,x,y,z,2.0)
        }
        return 
1;
     }
     return 
0;

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)