16.01.2012, 12:41
Hello,
I've always been thinkin' for what code
Is used :\
I've always been thinkin' for what code
pawn Код:
OnEnterExitModShop
OnEnterExitModShop
public OnEnterExitModShop(playerid, enterexit, interiorid)
{
if(enterexit == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Nice car! You have been taxed $100.");
GivePlayerMoney(playerid, -100);
}
return 1;
}
if(enterexit == 1)
OnEnterExitModShop
- This callback is called when a player enters or exits a mod shop. This callback can be used for shops. For example you can disable to enter on the Ammunations and make with checkpoints new Ammu with new weapons. |