public OnPlayerDeath(playerid, killerid, reason){new str[128], pName[MAX_PLAYER_NAME];GetPlayerName(playerid, pName,MAX_PLAYER_NAME);format(str,128,\"Megölted %s nevű játékost.\", pName);SendClientMessage(killerid, -1, str);return 1;}
CMD:acceptdeath(playerid, params[]){if(isAlive[playerid] == false)if(PlayerInfo[playerid][pJailed] = 1) return SetPlayerPos(playerid, 1810.1390,-1549.2727,5700.4287); // ezt adtam hozzá én { SCM(playerid, COLOR_LIGHTRED, \"You have been rushed to the hospital and are undergoing an operation.\"); SetPlayerPos(playerid, -211.3207,-1759.6207,676.7153); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 0);FadeColorForPlayer(playerid,0,0,0,0,0,0,0,255,15,0); SetTimerEx(\"OperationDone\", 15000, false, \"i\", playerid); isAlive[playerid] = true; ApplyPlayerAnimation(playerid,\"CRACK\",\"crckdeth1\",4.1,1,1,1,1,1,1); Delete3DTextLabel(deathlabel[playerid]); sInfo[playerid][Chest] = 0; sInfo[playerid][Head] = 0; sInfo[playerid][Crotch] = 0; sInfo[playerid][RLeg] = 0; sInfo[playerid][LLeg] = 0; sInfo[playerid][RArm] = 0; sInfo[playerid][LArm] = 0; killed[playerid] = 0; GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon1], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon2], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon3], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon4], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon5], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon6], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon7], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon8], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon9], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon10], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon11], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon12], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon13], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon14], 0);new Float:pPosX, Float:pPosY, Float:pPosZ;newworld = GetPlayerVirtualWorld(playerid), interior = GetPlayerInterior(playerid);GetPlayerPos(playerid, pPosX, pPosY, pPosZ); for(new i_slot = 0, gun, ammo; i_slot != 12; i_slot++) { GetPlayerWeaponData(playerid, i_slot, gun, ammo); if(gun != 0 && ammo != 0) CreateDroppedGun(gun, ammo, pPosX+random(2)-random(2), pPosY+random(2)-random(2), pPosZ, world, interior); }}return 1;
if(PlayerInfo[playerid][pJailed] = 1) return SetPlayerPos(playerid, 1810.1390,-1549.2727,5700.4287); // ezt adtam hozzá én
CMD:acceptdeath(playerid, params[]){if(isAlive[playerid] == false){ SCM(playerid, COLOR_LIGHTRED, \"You have been rushed to the hospital and are undergoing an operation.\"); if(PlayerInfo[playerid][pJailed] == 0){ SetPlayerPos(playerid, -211.3207,-1759.6207,676.7153); SetPlayerInterior(playerid, 3); SetPlayerVirtualWorld(playerid, 0); FadeColorForPlayer(playerid,0,0,0,0,0,0,0,255,15,0); SetTimerEx(\"OperationDone\", 15000, false, \"i\", playerid);}else if(PlayerInfo[playerid][pJailed] == 1){ SetPlayerPos(playerid, 1810.1390,-1549.2727,5700.4287); // ezt adtam hozzá én } isAlive[playerid] = true; ApplyPlayerAnimation(playerid,\"CRACK\",\"crckdeth1\",4.1,1,1,1,1,1,1); Delete3DTextLabel(deathlabel[playerid]); sInfo[playerid][Chest] = 0; sInfo[playerid][Head] = 0; sInfo[playerid][Crotch] = 0; sInfo[playerid][RLeg] = 0; sInfo[playerid][LLeg] = 0; sInfo[playerid][RArm] = 0; sInfo[playerid][LArm] = 0; killed[playerid] = 0; GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon1], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon2], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon3], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon4], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon5], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon6], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon7], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon8], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon9], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon10], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon11], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon12], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon13], 0);GivePlayerWeapon(playerid, PlayerInfo[playerid][pWeapon14], 0);new Float:pPosX, Float:pPosY, Float:pPosZ;newworld = GetPlayerVirtualWorld(playerid), interior = GetPlayerInterior(playerid);GetPlayerPos(playerid, pPosX, pPosY, pPosZ); for(new i_slot = 0, gun, ammo; i_slot != 12; i_slot++) { GetPlayerWeaponData(playerid, i_slot, gun, ammo); if(gun != 0 && ammo != 0) CreateDroppedGun(gun, ammo, pPosX+random(2)-random(2), pPosY+random(2)-random(2), pPosZ, world, interior); }}return 1;}
else if(PlayerInfo[playerid][pJob] == 4){ new vehicleid = GetPlayerVehicleID(playerid); if(Kamionozik[playerid] == true) return SCM(playerid, COLOR_LIGHTRED, \"Már dolgozol. /stopworking, hogy abbahagyd azt.\"); if(!Kamionok[vehicleid]) return SCM(playerid, COLOR_LIGHTRED, \"Nem ülsz kamionban.\"); if(!IsTrailerAttachedToVehicle(vehicleid)) return SendClientMessage(playerid, COLOR_LIGHTRED, \"Nincs felcsatolva trailer!\"); Kamionozik[playerid] = true; SetPlayerCheckpoint(playerid, 261.9075,1411.2166,10.2274, 1.0); SCM(playerid, COLOR_WHITE, \"Töltsd fel a trailert üzemanyaggal, a megadott helyszínen.\"); KamionCP[playerid] = 1;}
..
Hali! Valakinek nincs véletlen egy tömbje amibe össze van írva az összes skinnek a leírása??pld. ID 0 skinnek ez: Fehér trikót és kék farmert viseló afróamerikai férfi