Whitesonicsuper
Member
I have some problems. Don't call me dumb, when read the CoDe.
local function MyCustomAbility(player)
if player.mo.skin ~= "white" then
return
end
if (player.cmd.buttons & BT_CUSTOM3) then
R_SetPlayerSkin(7,whiteice)
P_DoSuperTransformation(whiteice, true)
P_Earthquake = 30
end
end
addHook("PlayerThink", MyCustomAbility)
I JUST DON'T KNOW, WHAT TO WRITE IN "pLAYER_T"
local function MyCustomAbility(player)
if player.mo.skin ~= "white" then
return
end
if (player.cmd.buttons & BT_CUSTOM3) then
R_SetPlayerSkin(7,whiteice)
P_DoSuperTransformation(whiteice, true)
P_Earthquake = 30
end
end
addHook("PlayerThink", MyCustomAbility)
I JUST DON'T KNOW, WHAT TO WRITE IN "pLAYER_T"