22.06.2016, 20:09
Hi guys i've make dm arena
But when the player dead he don't respawn at, i've tried lots of code in "OnPlayerDeath" but that don't work, have u solutions ?
Srry for my bad english #France
Код HTML:
COMMAND:dmpirate(playerid, params[]) { new string[600],pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname)); if(IsPlayerInDM[playerid] == 1) return SendClientMessage(playerid, COLOR_ORANGE, "Tu es deja dans le dm Pirate, fait /dmpirateq pour le quitter"); IsPlayerInDM[playerid] = 1; format(string, sizeof(string), "%s A rejoint le /dmpirate, rejoignez le !", pname); SendClientMessageToAll(COLOR_ORANGE, string); SendClientMessage(playerid, COLOR_ORANGE, "Tu as rejoint le dm pirate"); SetPlayerPos(playerid, -2050.0810547,-7609.0312500,2.2020721); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid, 26, 900); GivePlayerWeapon(playerid, 24, 900); SetPlayerFacingAngle(playerid, 0); return 1; }
Srry for my bad english #France