09.04.2009, 22:27
guy I have problem I am still noob in scripting and I need help with /buylicense in city hall ... I have put it pickups into city hall and everything and I created /buylicense flying we I stand on that pickup I doenstn work can any onw say way....
Код:
if(strcmp(cmd, "/buylicense flying", true)== 0) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(3.0,playerid, 369.4747,186.4138,1008.3893)) { SendClientMessage(playerid, COLOR_YELLOW, "kupio si licencu za letenje"); GivePlayerMoney(playerid, - 20000); PlayerInfo[playerid][pFlyLic] = 0; return 1; } } }