GetPlayerSkin: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(updated to new syntax)
Line 16: Line 16:
if ( spawnPlayer ( myPlayer, 1000, 1000, 1000, 90, 650 ) ) then
if ( spawnPlayer ( myPlayer, 1000, 1000, 1000, 90, 650 ) ) then
-- Tell the player what skin they've spawned with
-- Tell the player what skin they've spawned with
outputChatBox ( ( "Your skin ID is: ", getPlayerSkin ( myPlayer) ), myPlayer )
outputChatBox ( "Your skin ID is: "..getPlayerSkin ( myPlayer ), myPlayer )
end
end
</syntaxhighlight>
</syntaxhighlight>

Revision as of 01:05, 5 November 2006