Some Questions
#3

2. I got several spawnpoints, but how do i make it so that instead of a certain skin going to a certain spawnpoint, it randomizes. BTW i got regular skins, cop skins, pilot skins, so they need to be seperate.

pawn Код:
//news
new Float:RandomSpawn[][10] = //change 10 to however many spawns you have.
{
    {1366.3746, 2173.3083, 11.1461, 294.6393},
    {1322.2386, 2120.1699, 13.7129, 5.1400},
    {1321.4244, 2155.9250, 11.0234, 174.7999},
    {1409.9850, 2100.8027, 12.0156, 345.9935},
    {1297.5820, 2216.2720, 19.8150, 230.0792},
    {1366.7742, 2196.3889, 9.7578, 188.4557},
    {1395.9301, 2214.9568, 12.0156, 128.4330}
};

//under onplayerspawn
    new rand = random(sizeof(RandomSpawn));

    SetPlayerPos(playerid, RandomSpawn[rand][0], RandomSpawn[rand][1],RandomSpawn[rand][2]);
    SetPlayerFacingAngle(playerid, RandomSpawn[rand][3]);
5. How do i make certain skins spawn with certain weps?

You do this with addplayerclass
https://sampwiki.blast.hk/wiki/AddPlayerClass


All i could help with sorry.
Reply


Messages In This Thread
Some Questions - by Rokzlive - 17.11.2010, 01:14
Re: Some Questions - by Ruffles. - 17.11.2010, 01:20
Re: Some Questions - by Haydz - 17.11.2010, 01:32
Re: Some Questions - by Rokzlive - 17.11.2010, 02:04
Re: Some Questions - by Ruffles. - 17.11.2010, 02:20
Re: Some Questions - by Ehab1911 - 17.11.2010, 02:55
Re: Some Questions - by [MWR]Blood - 17.11.2010, 08:01
Re: Some Questions - by Rokzlive - 17.11.2010, 16:17
Re: Some Questions - by Rokzlive - 17.11.2010, 16:44
Re: Some Questions - by Bessensap - 18.11.2010, 08:20

Forum Jump:


Users browsing this thread: 4 Guest(s)