- 0
Problema adaugare spawn
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
petru97
Salut ! Vreau sa adaug si eu un nou spawn pe langa lossantos / sanfiero vreau sa bag si lasventuras . Am facut totul si imi da urmatoarele erori :
Uita-ti scriptu .if ((gTeam[playerid]) == 1) { SetPlayerToTeamColor(playerid); rand = random(sizeof(gMedPlayerSpawns)); SetPlayerPos(playerid, gMedPlayerSpawns[rand][0], gMedPlayerSpawns[rand][1], gMedPlayerSpawns[rand][2]); // Warp the player SetPlayerFacingAngle(playerid, 270.0); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; return 1; } if(PlayerInfo[playerid][pFMember] != 255) { new family = PlayerInfo[playerid][pFMember]; SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]); SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]); SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]); return 1; } else { SetPlayerToTeamColor(playerid); if(PlayerInfo[playerid][pOrigin] == 1)//San Fiero { SetPlayerPos(playerid,-1968.8705,111.0802,27.6875); SetPlayerFacingAngle(playerid, 46.8583); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } if(PlayerInfo[playerid][pOrigin] == 3)//Las Venturas { SetPlayerPos(playerid,2631.6428,2346.5029,10.6719); SetPlayerFacingAngle(playerid, 203.6199); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else if(PlayerInfo[playerid][pOrigin] == 2)//Los Santos { SetPlayerPos(playerid,1771.7191,-1656.6982,14.4234); SetPlayerFacingAngle(playerid, 265.6613); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else rand = random(sizeof(gRandomPlayerSpawns)); SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2], gRandomPlayerSpawns[rand][3]); // Warp the player SetPlayerFacingAngle(playerid, 270.0); SetPlayerInterior(playerid, 5); PlayerInfo[playerid][pInt] = 15; } return 1; } } return 1; }0 answers to this question
Recommended Posts