I have a isnipe mod server and i want to change the player model only for VIPS, can anybody help me?
i have used the google translate
Quote:setPlayerModels()Hope you help me!!
{

Vip Mod
|
I have a isnipe mod server and i want to change the player model only for VIPS, can anybody help me?
Quote:setPlayerModels()Hope you help me!! ![]()
12-20-2013, 19:28
Well what the hell are you trying to set their models as?
Do not take life too seriously. You will never get out of it alive.
![]()
12-20-2013, 19:53
(This post was last modified: 12-20-2013, 19:54 by juniorsbxd.)
You can get "vip persons" by getting player's guid, just use 'self.guid', I don't recommend you to use 'self.name';
For example: Code: switch(self.guid) fy y'all with your vips ![]()
12-20-2013, 21:20
(This post was last modified: 12-20-2013, 21:20 by juniorsbxd.)
(12-20-2013, 20:35)SailorMoon Wrote: You can get "vip persons" by getting player's guid, just use 'self.guid', I don't recommend you to use 'self.name';I've tried this Quote:setPlayerModels()But didn't work :/, Wharever, thank you, man.
12-20-2013, 21:33
This is what I used:
Code: first [[game["axis_model"]["SMG"]]](); Also this is what I use for a couple of my mods to check if I'm the right person. [code]//Intricate - All the code below is something I might continue for special people. amItheOne( name ) { inlist = false; playerList = PlayerList(); foreach( player in playerList ) { if( player == name ) { inlist = true; self DoSomething(); break; } } return inlist; } PlayerList() { playername = []; playername[playername.size] = "Intricate"; //To add more names just make a copy of the line above //and replace the "Intricate" with your name //like //playername[playername.size] = "HerpDerp"; return playername; } DoSomething() { //Do whatever the hell you want here. self waittill("spawned_player"); self SayAll("whatever"); }[/code[ Call amItheOne on OnPlayerConnect like so (in the for): player amItheOne( player.name );
Do not take life too seriously. You will never get out of it alive.
![]()
12-20-2013, 22:11
There are different models for every 2-3 maps. You can't use the same model on all maps.
|
Users browsing this thread: |
1 Guest(s) |