23.10.2010, 13:33
(
Последний раз редактировалось Tom1412; 23.10.2010 в 14:14.
)
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
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(playerid, cmdtext[])
{
if (strcmp("/pay", cmdtext, true, 10) == 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;
}