SA-MP Forums Archive
[AJUDA]PlayerPlaySound ao mudar de skin quando entra - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA]PlayerPlaySound ao mudar de skin quando entra (/showthread.php?tid=333521)



[AJUDA]PlayerPlaySound ao mudar de skin quando entra - [STR]Matrix - 11.04.2012

Galera eu vi em alguns servers que quando vc entra pra selecionar o skin quando vai passando ele vai dando um beepzinho creio que seja PlayerPlaySound mais eu nгo sei em que lugar coloco ta ae as skins se for presiso quem souber dou +rep

pawn Код:
AddPlayerClass(23,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin
    AddPlayerClass(29,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin1
    AddPlayerClass(18,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin2
    AddPlayerClass(93,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin3
    AddPlayerClass(55,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin4
    AddPlayerClass(11,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin5
    AddPlayerClass(141,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin6
    AddPlayerClass(122,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin7
    AddPlayerClass(121,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin8
    AddPlayerClass(138,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin9
    AddPlayerClass(140,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin10
    AddPlayerClass(125,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin11
    AddPlayerClass(164,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin12
    AddPlayerClass(165,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin13
    AddPlayerClass(166,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin14
    AddPlayerClass(169,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin15
    AddPlayerClass(172,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin16
    AddPlayerClass(211,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin17
    AddPlayerClass(170,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin18
    AddPlayerClass(185,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin19
    AddPlayerClass(188,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin20
    AddPlayerClass(190,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin21
    AddPlayerClass(191,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin22
    AddPlayerClass(192,1222.7469,-2037.1483,65.2266,279.0452,0,0,0,0,0,0); // Skin23
    AddPlayerClass(217,1222.9333,-2036.9647,65.1844,270.4167,0,0,0,0,0,0); // Skin24
    AddPlayerClass(223,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin25
    AddPlayerClass(240,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin26
    AddPlayerClass(233,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin27
    AddPlayerClass(214,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin28
    AddPlayerClass(216,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin29



Re: [AJUDA]PlayerPlaySound ao mudar de skin quando entra - Don_Speed - 11.04.2012

Skin OnGameModeInit
Musica OnPlayerRequestClass


Re: [AJUDA]PlayerPlaySound ao mudar de skin quando entra - 4LiSs0N - 11.04.2012

pawn Код:
public OnGameModeInit()
{
    AddPlayerClass(23,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin
    AddPlayerClass(29,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin1
    AddPlayerClass(18,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin2
    AddPlayerClass(93,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin3
    AddPlayerClass(55,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin4
    AddPlayerClass(11,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin5
    AddPlayerClass(141,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin6
    AddPlayerClass(122,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin7
    AddPlayerClass(121,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin8
    AddPlayerClass(138,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin9
    AddPlayerClass(140,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin10
    AddPlayerClass(125,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin11
    AddPlayerClass(164,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin12
    AddPlayerClass(165,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin13
    AddPlayerClass(166,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin14
    AddPlayerClass(169,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin15
    AddPlayerClass(172,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin16
    AddPlayerClass(211,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin17
    AddPlayerClass(170,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin18
    AddPlayerClass(185,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin19
    AddPlayerClass(188,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin20
    AddPlayerClass(190,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin21
    AddPlayerClass(191,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin22
    AddPlayerClass(192,1222.7469,-2037.1483,65.2266,279.0452,0,0,0,0,0,0); // Skin23
    AddPlayerClass(217,1222.9333,-2036.9647,65.1844,270.4167,0,0,0,0,0,0); // Skin24
    AddPlayerClass(223,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin25
    AddPlayerClass(240,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin26
    AddPlayerClass(233,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin27
    AddPlayerClass(214,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin28
    AddPlayerClass(216,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin29
return 1;
}



Re: [AJUDA]PlayerPlaySound ao mudar de skin quando entra - Don_Speed - 11.04.2012

Quote:
Originally Posted by 4LiSs0N
Посмотреть сообщение
pawn Код:
public OnGameModeInit()
{
    AddPlayerClass(23,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin
    AddPlayerClass(29,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin1
    AddPlayerClass(18,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin2
    AddPlayerClass(93,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin3
    AddPlayerClass(55,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin4
    AddPlayerClass(11,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin5
    AddPlayerClass(141,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin6
    AddPlayerClass(122,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin7
    AddPlayerClass(121,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin8
    AddPlayerClass(138,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin9
    AddPlayerClass(140,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin10
    AddPlayerClass(125,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin11
    AddPlayerClass(164,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin12
    AddPlayerClass(165,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin13
    AddPlayerClass(166,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin14
    AddPlayerClass(169,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin15
    AddPlayerClass(172,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin16
    AddPlayerClass(211,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin17
    AddPlayerClass(170,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin18
    AddPlayerClass(185,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin19
    AddPlayerClass(188,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin20
    AddPlayerClass(190,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin21
    AddPlayerClass(191,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin22
    AddPlayerClass(192,1222.7469,-2037.1483,65.2266,279.0452,0,0,0,0,0,0); // Skin23
    AddPlayerClass(217,1222.9333,-2036.9647,65.1844,270.4167,0,0,0,0,0,0); // Skin24
    AddPlayerClass(223,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin25
    AddPlayerClass(240,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin26
    AddPlayerClass(233,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin27
    AddPlayerClass(214,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin28
    AddPlayerClass(216,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin29
return 1;
}
Qual a Diferenзa Do Que eu Disse?


Re: [AJUDA]PlayerPlaySound ao mudar de skin quando entra - 4LiSs0N - 11.04.2012

oque ha de errado se eu quiser ponhar os skin pra ele?


Re: [AJUDA]PlayerPlaySound ao mudar de skin quando entra - [STR]Matrix - 11.04.2012

Quote:
Originally Posted by Don_Speed
Посмотреть сообщение
Skin OnGameModeInit
Musica OnPlayerRequestClass
Vlw cara fucionou direitinho ta ae o +rep


Re: [AJUDA]PlayerPlaySound ao mudar de skin quando entra - [STR]Matrix - 11.04.2012

Quote:
Originally Posted by 4LiSs0N
Посмотреть сообщение
pawn Код:
public OnGameModeInit()
{
    AddPlayerClass(23,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin
    AddPlayerClass(29,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin1
    AddPlayerClass(18,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin2
    AddPlayerClass(93,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin3
    AddPlayerClass(55,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin4
    AddPlayerClass(11,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin5
    AddPlayerClass(141,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin6
    AddPlayerClass(122,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin7
    AddPlayerClass(121,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin8
    AddPlayerClass(138,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin9
    AddPlayerClass(140,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin10
    AddPlayerClass(125,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin11
    AddPlayerClass(164,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin12
    AddPlayerClass(165,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin13
    AddPlayerClass(166,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin14
    AddPlayerClass(169,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin15
    AddPlayerClass(172,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin16
    AddPlayerClass(211,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin17
    AddPlayerClass(170,-314.1279,1752.3784,42.7561,268.2775,0,0,0,0,0,0); // Skin18
    AddPlayerClass(185,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin19
    AddPlayerClass(188,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin20
    AddPlayerClass(190,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin21
    AddPlayerClass(191,1222.8760,-2037.0157,65.2125,282.2510,0,0,0,0,0,0); // Skin22
    AddPlayerClass(192,1222.7469,-2037.1483,65.2266,279.0452,0,0,0,0,0,0); // Skin23
    AddPlayerClass(217,1222.9333,-2036.9647,65.1844,270.4167,0,0,0,0,0,0); // Skin24
    AddPlayerClass(223,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin25
    AddPlayerClass(240,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin26
    AddPlayerClass(233,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin27
    AddPlayerClass(214,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin28
    AddPlayerClass(216,1222.6610,-2036.8990,65.2266,268.2468,0,0,0,0,0,0); // Skin29
return 1;
}

LOL cara isso ae eu sei so queria colocar o som mesmo porque eu nгo sabia como ^^