Daxic 0 Odesláno: 22. Listopad, 2009 Share Odesláno: 22. Listopad, 2009 Dobrý den naskytl se mi tu problém v tomto skriptu: public OnPlayerSpawn(playerid) public OnPlayerSpawn(playerid) { new skin = GetPlayerSkin(playerid); if (skin == 108 || 30 || 292) { SetPlayerPos(playerid,-1481.126, 2630.331, 60.424); SetPlayerColor(playerid, 0xFF0000AA); GivePlayerWeapon(playerid, 30, 300); GivePlayerWeapon(playerid, 32, 500); GivePlayerWeapon(playerid, 22, 100); GivePlayerWeapon(playerid, 16, 5); } else if (skin == 280 || 286 || 287) { SetPlayerPos(playerid, -264.265, 2586.253, 62.814); SetPlayerColor(playerid, 0x3366FFAA); GivePlayerWeapon(playerid, 31, 300); GivePlayerWeapon(playerid, 28, 500); GivePlayerWeapon(playerid, 22, 100); GivePlayerWeapon(playerid, 16, 5); } return 1; } Chybu mi to nepíše ale když si vyberu jakoukoliv postavu tak mne to hodí na jeden spawn a nwm proč přitom by to mnělo ty skiny 280,286 a 287 házet na jiný spawn prosím poraďte. Link to comment Share on other sites More sharing options...
0 7.Host 3 Odesláno: 22. Listopad, 2009 Share Odesláno: 22. Listopad, 2009 máš to blbě musíš to udělat takhle: public OnPlayerSpawn(playerid) { new skin = GetPlayerSkin(playerid); if (skin == 108 || skin == 30 || skin == 292) { SetPlayerPos(playerid,-1481.126, 2630.331, 60.424); SetPlayerColor(playerid, 0xFF0000AA); GivePlayerWeapon(playerid, 30, 300); GivePlayerWeapon(playerid, 32, 500); GivePlayerWeapon(playerid, 22, 100); GivePlayerWeapon(playerid, 16, 5); } else if (skin == 280 || skin == 286 || skin == 287) { SetPlayerPos(playerid, -264.265, 2586.253, 62.814); SetPlayerColor(playerid, 0x3366FFAA); GivePlayerWeapon(playerid, 31, 300); GivePlayerWeapon(playerid, 28, 500); GivePlayerWeapon(playerid, 22, 100); GivePlayerWeapon(playerid, 16, 5); } return 1; } if (skin == 108 || skin == 30 || skin == 292) Link to comment Share on other sites More sharing options...
0 Daxic 0 Odesláno: 22. Listopad, 2009 Author Share Odesláno: 22. Listopad, 2009 Díky za pohotovoý Help Link to comment Share on other sites More sharing options...
Dotaz
Daxic 0
Dobrý den naskytl se mi tu problém v tomto skriptu:
public OnPlayerSpawn(playerid)
public OnPlayerSpawn(playerid)
{
new skin = GetPlayerSkin(playerid);
if (skin == 108 || 30 || 292)
{
SetPlayerPos(playerid,-1481.126, 2630.331, 60.424);
SetPlayerColor(playerid, 0xFF0000AA);
GivePlayerWeapon(playerid, 30, 300);
GivePlayerWeapon(playerid, 32, 500);
GivePlayerWeapon(playerid, 22, 100);
GivePlayerWeapon(playerid, 16, 5);
}
else if (skin == 280 || 286 || 287)
{
SetPlayerPos(playerid, -264.265, 2586.253, 62.814);
SetPlayerColor(playerid, 0x3366FFAA);
GivePlayerWeapon(playerid, 31, 300);
GivePlayerWeapon(playerid, 28, 500);
GivePlayerWeapon(playerid, 22, 100);
GivePlayerWeapon(playerid, 16, 5);
}
return 1;
}
Chybu mi to nepíše ale když si vyberu jakoukoliv postavu tak mne to hodí na jeden spawn a nwm proč přitom by to mnělo ty skiny 280,286 a 287 házet na jiný spawn prosím poraďte.
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now