09.12.2012, 15:53
Код:
public OnPlayerHaveExtraCash(playerid,extraamount) { return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public IsAMember(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==5 || member==6 || member==8) { return 1; } if(lider==5 || lider==6 || lider==8) { return 1; } } return 0; } public IsACop(playerid) { if(IsPlayerConnected(playerid)) { new lider = PlayerInfo[playerid][pLider]; new member = PlayerInfo[playerid][pMembro]; if(member==1 || member==2 || member==3 || member==16 || member==11) { return 1; } else if(lider==1 || lider==2 || lider==3 || lider==16 || lider==11) { return 1; } } return 0; } public IsAtClothShop(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)) {