WTF!!!!!!!!!1 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: WTF!!!!!!!!!1 (
/showthread.php?tid=73548)
WTF!!!!!!!!!1 -
_PDDRIFTER_ - 16.04.2009
how u add sound in samp like when your in the selection of the game pickin a person how u add it i got asound but how to scirpt it in
PlayerPlaySound(playerid, 1097, X, Y, Z);
where to add it
Re: WTF!!!!!!!!!1 -
Backwardsman97 - 16.04.2009
OnPlayerRequestClass
Re: WTF!!!!!!!!!1 -
Redirect Left - 16.04.2009
OnPlayerRequestClass.
To stop the music, play another sound at OnPlayerSpawn.
Re: WTF!!!!!!!!!1 -
_PDDRIFTER_ - 16.04.2009
C:\Users\zaynab account\Desktop\freeroam.pwn(53) : error 017: undefined symbol "X"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
? UHH
![confused](images/smilies/confused.gif)
what should i do
Re: WTF!!!!!!!!!1 -
Backwardsman97 - 16.04.2009
You need to get their position first.
pawn Код:
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
put that above it.
Re: WTF!!!!!!!!!1 -
Redirect Left - 16.04.2009
I suggest you actually learn PAWN first, you can't just put letters randomly..