AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Save Player model (https://forums.alliedmods.net/showthread.php?t=277346)

Syncron. 01-07-2016 12:56

Save Player model
 
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.

redivcram 01-07-2016 15:10

Re: Save Player model
 
Do you expect us to hack into your computer and see the code?! Attach it here...

Syncron. 01-07-2016 15:16

Re: Save Player model
 
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.

redivcram 01-07-2016 15:22

Re: Save Player model
 
No. Attach it to your post.
Or post the full code between [php] tags


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

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.