20.02.2015, 13:35
i make generator system, but dont working, im try all metods, but dont working, error.
its generator for admin pin
its generator for admin pin
Код:
public CreateStaffPin(targetid) { new Symb1 = random(sizeof(StaffPinGen)), Symb2 = random(sizeof(StaffPinGen)), Symb3 = random(sizeof(StaffPinGen)), Symb4 = random(sizeof(StaffPinGen)), Symb5 = random(sizeof(StaffPinGen)), Symb6 = random(sizeof(StaffPinGen)); format(staffpincod, 64,"%s%s%s%s%s%s", StaffPinGen[Symb1],StaffPinGen[Symb2],StaffPinGen[Symb3],StaffPinGen[Symb4],StaffPinGen[Symb5],StaffPinGen[Symb6]); PlayerInfo[targetid][pStaffPin] = staffpincod; }