• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Question about skin and team ...
#9
(2020-10-15, 01:10 PM)DaZzY Wrote:
(2020-10-15, 12:09 PM)Worm Wrote:
(2020-10-14, 12:52 PM)DaZzY Wrote:

I have tried to do this but work only when military die respawn at this positon still doesn't work :(





So according to what you are saying, It works only after the player dies.

Also by "?military ", you mean the team, or do you mean the player?



This is my code :?

Quote:switch (g_Team[g_Player[playerid][playerClass]][teamId]) {

iRandom = random(sizeof(g_SpawnJustice));

SetPlayerPos(playerid, g_SpawnJustice[iRandom][0], g_SpawnJustice[iRandom][1], g_SpawnJustice[iRandom][2]);

SetPlayerFacingAngle(playerid, g_SpawnJustice[iRandom][3]);



if(GetPlayerSkin(playerid) == 287)

? {

? SetPlayerPos(playerid, -1303.9714,492.5781,11.1953);

? }
?

i have many "case" i show this "case" of this team i have add?if(GetPlayerSkin(playerid) == 287) (military skin ) and position special to military?

When i choose player with military skin and i click on "SPAWN" on request class the military player? skin spawn same position with other player of skin cops and swat But when player die with skin 287 the player spawn at position of military skin



Quote:Add delay for 1 - 2 sec after OnPlayerSpawn to RE-Set player pos by skin or use SetPlayerSpawnInfo when player selects team.
?

This maybe a good idea the timer but SetPlayerSpawnInfo doesn't work also :(



So the problem i have a same team (justice) but i want a differents position for skin ...





What do u use to select teams ? Dialog or.. ?
  Reply


Messages In This Thread
Question about skin and team ... - by DaZzY - 2020-10-13, 06:25 PM
RE: Question about skin and team ... - by DaZzY - 2020-10-13, 08:52 PM
RE: Question about skin and team ... - by DaZzY - 2020-10-14, 11:33 AM
RE: Question about skin and team ... - by Worm - 2020-10-14, 12:42 PM
RE: Question about skin and team ... - by DaZzY - 2020-10-14, 12:52 PM
RE: Question about skin and team ... - by Worm - 2020-10-15, 12:09 PM
RE: Question about skin and team ... - by DaZzY - 2020-10-15, 01:10 PM
RE: Question about skin and team ... - by Expert* - 2020-10-15, 01:25 PM
RE: Question about skin and team ... - by DaZzY - 2020-10-15, 01:30 PM
RE: Question about skin and team ... - by Expert* - 2020-10-15, 12:53 PM
RE: Question about skin and team ... - by Expert* - 2020-10-15, 01:40 PM
RE: Question about skin and team ... - by Expert* - 2020-10-15, 01:48 PM
RE: Question about skin and team ... - by DaZzY - 2020-10-16, 04:36 PM

Forum Jump: