![]() |
|
Lock Teams - Printable Version +- Las Venturas Playground (https://forum.sa-mp.nl) +-- Forum: Miscellaneous (https://forum.sa-mp.nl/forum-4.html) +--- Forum: Gaming (https://forum.sa-mp.nl/forum-27.html) +--- Thread: Lock Teams (/thread-30032.html) Pages:
1
2
|
Lock Teams - Dust - 05-18-2008 Helloo again! This time I wonder how I can set passwords for charachters during the class selection Lets say I have 5 teams and the last skin would have a password, like "Leaders only" and then a command like /character [password] Hope you understood my english there x) Answer, if you feel for it.
Re: Lock Teams - MoToRoLa - 05-20-2008 its a hard long code u d better have 2 look on pastebins Re: Lock Teams - Dust - 05-20-2008 ok thanks! Re: Lock Teams - MoToRoLa - 05-21-2008 you may need to include dini dudb and dutils Re: Lock Teams - Fry - 05-21-2008 (05-20-2008, 07:05 AM)Motorola link Wrote: its a hard long code u d better have 2 look on pastebinsWhat? (05-21-2008, 01:15 AM)Motorola link Wrote: you may need to include dini dudb and dutils... I see what you're asking for here - it's probably hard to do with SA:MP's native class selection. You'd want to store which classes were available to which playerid's with a two-dimensional array, and force a player back to the class selection with ForceClassSelection() then output a warning message to them if they chose a skin which wasn't available to them. Kind of a gritty method, but hey, it works. Edit: Heh, looks like someone already made a tutorial on this. Search before you post, please. Re: Lock Teams - Dust - 05-21-2008 Sound like you got i all! thanks, hmm I must have missed that page...
Re: Lock Teams - MoToRoLa - 05-22-2008 oh i thought he was talking bout /register /loginĀ
Re: Lock Teams - Dust - 05-22-2008 noes, but I'll try to do as it sas on "fry's" link Re: Lock Teams - Jay - 05-22-2008 (05-22-2008, 02:52 AM)Motorola link Wrote: oh i thought he was talking bout /register /loginĀWell, if he was, where is the long and hard code in that? Especially using dini or w/e. Infact I done one the other day for Farepak using dini and it took 5 mins. Nothings hard if you know how to do it I remember when I was first learning dini too, asking tomozj for help o/But meh, I prefer the file functions alone now, got used to em :p Re: Lock Teams - Dust - 05-22-2008 Jay has spoken. ok jay, so I have to learn dini,(because its good to know )oh Jay, you are Grove on the unofficial forum ...I think? ![]() Perhaps I should use pm instead
|