#1

I cant change skin if i connect to my server what to do ? I have found TuT but errors . Someones got any FilterScript or Idea ?

AnD 2 question : How i can change player spawning point , im spawning on lv ? i changet setplayerpos but not works ?
Reply
#2

Use SetPlayerPos and SetPlayerSkin under OnPlayerSpawn
Reply
#3

What you means im begginer i need a good tutorial or code or FS
Reply
#4

1.) You'll have to AddPlayerClass under your OnGameModeInit() callback.
Something like this:
pawn Код:
AddPlayerClass(0, 1958.33, 1343.12, 15.36, 269.15, 26, 36, 28, 150, 0, 0);
//copyed from SA-MP Wiki
And you can put more of these with different X, Y, Z coordinates.

Look here

2.) You'll have to get X,Y and Z coordinates somewhere where you like and than
pawn Код:
AddPlayerClass(0, Your X, Your Y, Your Z, 269.15, 26, 36, 28, 150, 0, 0);
And then when you choose that skin you'll spawn where you wanted.
Reply
#5

Jesus, if you can't even read a wiki tutorial or get the very very very basics of pawn. down then your never going to be a good scripter, i mean im not trying to be rude, read up on the wiki look at some gamemodes, learn what the functions are, thats what i did
Reply
#6

Steven82 is right if you wanna learn scripting in pawno, trust me SA-MP Wiki will be your best guide.
And sure, you can always download some gamemode and look in it for some more answers
Reply
#7

Thank you all , now i understand that all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)