Como hago esto xd?
#3

SetPlayerSkin
GetPlayerSkin

pawn Код:
#include <a_samp>
new GuardarSkin[MAX_PLAYERS];

public OnPlayerCommandText(playerid, cmdtext[]) {
    if (strcmp("/guardar_skin", cmdtext, true, 10) == 0) {
        GuardarSkin[playerid] = GetPlayerSkin(playerid);
        return true;
    }
    if (strcmp("/poner_skin", cmdtext, true, 10) == 0) {
        SetPlayerSkin(playerid, GuardarSkin[playerid]);
        return true;
    }
    return false;
}
Reply


Messages In This Thread
Como hago esto xd? - by JaimitoxD - 15.06.2013, 18:37
Respuesta: Como hago esto xd? - by xDarkuzSx - 15.06.2013, 18:56
Respuesta: Como hago esto xd? - by OTACON - 15.06.2013, 19:48
Respuesta: Como hago esto xd? - by Zume - 16.06.2013, 16:05
Respuesta: Como hago esto xd? - by Shiny_David - 16.06.2013, 17:56
Respuesta: Como hago esto xd? - by Zume - 16.06.2013, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)