onPlayerSpawn
#6

You're not even clearly and you wait for us to solve your problem, you just repeat 'spawn in las venturas' in all your posts. Having a problem with 'OnPlayerSpawn' ? It always makes you at Las Venturas ?
Try to explain us what's your issue with this one code ?

PHP код:
    if(fracspawn >0//If player is a leader, so he must spawn in Las Venturas ?
    
{
     
setpos(playerid,fl[fracspawn][fSpawnx],fl[fracspawn][fSpawny],fl[fracspawn][fSpawnz]);
     
setint(playerid,fl[fracspawn][fInt]);
     
setworld(playerid,fl[fracspawn][fWorld]);
     
GivePlayerWeapon(playerid,fl[fracspawn][fGun1],fl[fracspawn][fAmmo1]);
    }
    else
    {
        
setint(playerid,4);
        
setworld(playerid,0);
        
setpos(playerid,-1435.75, -652.6641054.94);
        return 
1;
    } 
Also, we need some informations about that, is theses float loaded from Mysql ?
Код:
fl[fracspawn][fSpawnx],fl[fracspawn][fSpawny],fl[fracspawn][fSpawnz]
Reply


Messages In This Thread
onPlayerSpawn - by EvgeniyHostel1992 - 13.03.2018, 19:37
Re: onPlayerSpawn - by PepsiCola23 - 13.03.2018, 19:54
Re: onPlayerSpawn - by EvgeniyHostel1992 - 13.03.2018, 22:07
Re: onPlayerSpawn - by EvgeniyHostel1992 - 14.03.2018, 15:45
Re: onPlayerSpawn - by EvgeniyHostel1992 - 14.03.2018, 17:16
Re: onPlayerSpawn - by Maximun - 14.03.2018, 18:04
Re: onPlayerSpawn - by EvgeniyHostel1992 - 14.03.2018, 18:19

Forum Jump:


Users browsing this thread: 1 Guest(s)