Changing the Spawn Position and Weapons at start
#1

Hey guys!

As you can see from the title, i want to know how to change the spawn position at the Gamemode Public Enemy SF. I think the place where to edit will be the same at PENLS, but i dont know wich lines to edit.

Im not a very good scripter, so i ask you pro's. By the way, where can i remove the guns of the new spawned player? I want that new players dont have guns at the beginning.

Regards
Reply
#2

its simple work go to onplayer spawn and change like that and for guns set like to teams or to all player or something its pritty easy mate. but no point me guessing how you will do it coz i duno what your codes like.
Reply
#3

I changed so much coordinates but nothing worked.
Reply
#4

https://sampwiki.blast.hk/wiki/AddPlayerClass

It goes under GameModeInit()
Reply
#5

I already have that under OnGameModeInit

Quote:

{
AddPlayerClass(Peds[i][0],-1555.2689,1168.2203,7.1875);
//if (gdebug){printf("DEBUG ped (%d) added", i);}
}

I get a lot of warnings when i add the one from Wiki too.
Reply
#6

Add more of them. And show your AddPlayerClass lines
Reply
#7

I got a lot of warnings when i compile.
Reply
#8

Show your code ffs
Reply
#9

dont show your code copy the warning so i can see them mate.
Reply
#10

Quote:
Originally Posted by Shady91
dont show your code copy the warning so i can see them mate.
Nvm, thank you all anyway i think i got it to work.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)