Scripting help !
#2

delete the other shit, its just pointless code
PHP код:
GetUserName(pid){
    new 
s[24];
    
GetPlayerName(pid,s,24);
    return 
s;
}
GetUserInt(pid,s[]){
    return 
dini_Int(AddDirFile(dir_userfilesGetUserName(pid)), s);
}
CMD:oskin(pid){
    if(
GetUserInt(pid,"Roleplay")!=0)
        return 
SendClientMessage(playeridCOLOR_RED"Your gameplay state must be roleplay to use that command.");
    if (
GetPlayerWantedLevel(playerid) > 0
        return 
SendClientMessage(playeridCOLOR_RED"You are a wanted player!");
    new 
skin1=GetUserInt(pid,"skin1"),
        
skin2=GetUserInt(pid,"skin2"),
        
skin3=GetUserInt(pid,"skin3");
    return 
1;

Reply


Messages In This Thread
Scripting help ! - by Jessica292John - 26.08.2018, 18:38
Re: Scripting help ! - by CodeStyle175 - 26.08.2018, 18:52
Re: Scripting help ! - by Jessica292John - 26.08.2018, 19:03
Re: Scripting help ! - by Jessica292John - 26.08.2018, 19:06
Re: Scripting help ! - by CodeStyle175 - 26.08.2018, 19:13
Re: Scripting help ! - by Jessica292John - 26.08.2018, 19:30
Re: Scripting help ! - by Jessica292John - 26.08.2018, 19:32
Re: Scripting help ! - by CodeStyle175 - 26.08.2018, 19:35
Re: Scripting help ! - by J0sh... - 27.08.2018, 00:23
Re: Scripting help ! - by Sew_Sumi - 27.08.2018, 09:00

Forum Jump:


Users browsing this thread: 2 Guest(s)