Raised This Month: $38 Target: $400
 9% 

Save Player model


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Syncron.
Member
Join Date: Dec 2014
Location: Iasi,Romania
Old 01-07-2016 , 12:56   Save Player model
Reply With Quote #1

Hi guys i need your help for something.
Saw i'm made an plugin for zombie plague which player have posibility to buy admin models,but i need really help I would like ,when player drop on the server or map change i want to save ADMIN MODELS to nVault,please HELP me.
Thanks very much.
Have a nice Day.
Syncron. is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 01-07-2016 , 15:10   Re: Save Player model
Reply With Quote #2

Do you expect us to hack into your computer and see the code?! Attach it here...
__________________
Too broke to change username to "Uberwire".
Discord: Uberwire#6773
Gamebanana: Uberwire
ModDB: uberwire
redivcram is offline
Syncron.
Member
Join Date: Dec 2014
Location: Iasi,Romania
Old 01-07-2016 , 15:16   Re: Save Player model
Reply With Quote #3

See, if you need something please tell me.
Its a full code of zombie source,if you need just code or nvault or anything say me and posted,this.

PHP Code:
public SaveModel(id)
{
    new 
Data[16]
    
formatex(Data,charsmax(Data), "%i",1
    new 
Name[32]
    
get_user_name(idName31)
    
nvault_set(g_SaveModelNameData)

}

public 
LoadModel(id)
{
    new 
Name[32]
    
get_user_name(idName31)
    new 
Data[8], Timestamp
    
if(nvault_lookup(g_SaveModelNameDatacharsmax(Data), Timestamp))
    {
        
    
    }
    else
    {
    

    }


This is code for nVault but nothing hapen when it tested on server.

Last edited by Syncron.; 01-07-2016 at 15:35.
Syncron. is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 01-07-2016 , 15:22   Re: Save Player model
Reply With Quote #4

No. Attach it to your post.
Or post the full code between [php] tags
__________________
Too broke to change username to "Uberwire".
Discord: Uberwire#6773
Gamebanana: Uberwire
ModDB: uberwire

Last edited by redivcram; 01-07-2016 at 15:22.
redivcram is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:30.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode