<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3AScripting%2FSquirrel%2FFunctions%2FUsingClasses</id>
	<title>Talk:Scripting/Squirrel/Functions/UsingClasses - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3AScripting%2FSquirrel%2FFunctions%2FUsingClasses"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Talk:Scripting/Squirrel/Functions/UsingClasses&amp;action=history"/>
	<updated>2026-05-10T20:25:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Talk:Scripting/Squirrel/Functions/UsingClasses&amp;diff=19142&amp;oldid=prev</id>
		<title>Kennedyarz: /* Funcion OnPlayerClass */ new section</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Talk:Scripting/Squirrel/Functions/UsingClasses&amp;diff=19142&amp;oldid=prev"/>
		<updated>2016-03-21T20:53:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Funcion OnPlayerClass: &lt;/span&gt; new section&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Funcion OnPlayerClass ==&lt;br /&gt;
&lt;br /&gt;
function onScriptLoad()&lt;br /&gt;
{&lt;br /&gt;
    AddClass( 1, RGB( 75, 215, 241 ) ,0, Vector( -378.79, -537.962, 17.2832 ), 140.020, 22, 999 ,17, 100, 21, 245 );&lt;br /&gt;
    AddClass( 2, RGB( 140,250,300 ) ,11, Vector( -378.79, -537.962, 17.2832 ), 140.020, 25, 999 ,18, 999, 19, 999 );&lt;br /&gt;
    AddClass( 3, RGB( 91, 21, 255 ) ,15, Vector( -378.79, -537.962, 17.2832 ), 140.020, 22, 999 ,17, 100, 21, 245 );&lt;br /&gt;
    AddClass( 3, RGB( 221, 81, 9 ) ,83, Vector( -378.79, -537.962, 17.2832 ), 140.020, 22, 999 ,17, 100, 21, 245 );&lt;br /&gt;
    AddClass( 4, RGB( 255, 51, 153 ) ,84, Vector( -378.79, -537.962, 17.2832 ), 140.020, 22, 999 ,17, 100, 21, 245 );&lt;br /&gt;
AddClass( 5, RGB( 241, 25, 123 ) ,122, Vector( -398.79, -517.962, 17.2832 ), 140.020, 20, 999 ,19, 100, 21, 245 );&lt;br /&gt;
AddClass( 6, RGB( 245, 56, 243 ) ,51, Vector( -398.79, -517.962, 17.2832 ), 140.020, 20, 999 ,19, 100, 21, 245 );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function onPlayerRequestClass( player, classID, team, skin )&lt;br /&gt;
{&lt;br /&gt;
switch( skin )&lt;br /&gt;
     {&lt;br /&gt;
     case 0:&lt;br /&gt;
     {&lt;br /&gt;
  &lt;br /&gt;
  Announce( &amp;quot;Tommy Vercetti&amp;quot;, player, 6 );&lt;br /&gt;
     }&lt;br /&gt;
     break;&lt;br /&gt;
     case 11:&lt;br /&gt;
     {&lt;br /&gt;
  &lt;br /&gt;
  Announce( &amp;quot;Civilian&amp;quot;, player, 6 );&lt;br /&gt;
     }&lt;br /&gt;
     break;&lt;br /&gt;
     case 15:&lt;br /&gt;
     {&lt;br /&gt;
  &lt;br /&gt;
  Announce( &amp;quot;DrugDealer&amp;quot;, player, 6 );&lt;br /&gt;
     }&lt;br /&gt;
     break;&lt;br /&gt;
     case 51:&lt;br /&gt;
     {&lt;br /&gt;
  &lt;br /&gt;
  Announce( &amp;quot;Punk&amp;quot;, player, 6 );&lt;br /&gt;
     }&lt;br /&gt;
     break;&lt;br /&gt;
     case 122:&lt;br /&gt;
     {&lt;br /&gt;
  &lt;br /&gt;
  Announce( &amp;quot;Robot&amp;quot;, player, 6 );&lt;br /&gt;
     }&lt;br /&gt;
     break;&lt;br /&gt;
     case 83:&lt;br /&gt;
     {&lt;br /&gt;
  &lt;br /&gt;
  Announce( &amp;quot;Cubano&amp;quot;, player, 6 );&lt;br /&gt;
     }&lt;br /&gt;
     break;&lt;br /&gt;
     case 84:&lt;br /&gt;
     {&lt;br /&gt;
  &lt;br /&gt;
  Announce( &amp;quot;haitino&amp;quot;, player, 6 );&lt;br /&gt;
     }&lt;br /&gt;
     break;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Kennedyarz</name></author>
	</entry>
</feed>