16.12.2011, 21:59
Всем привет, в общем снимаю видео для презентации фильтрскрипта. Кто заинтересован пишем в ICQ или оставляем заявку.
public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); new randskin = random(299)+1; if(!strcmp(npcname, "Dancer", true)) { SetPlayerSkin(playerid,randskin); ApplyAnimation(playerid,"DANCING","DAN_Down_A",4.1,1,1,1,1,1); return 1; } if(!strcmp(npcname, "Dancer2", true)) { SetPlayerSkin(playerid,randskin); ApplyAnimation(playerid,"DANCING","DAN_Left_A",4.1,1,1,1,1,1); return 1; } } return 1; }
ConnectNPC("Dancer","dancer_1"); ConnectNPC("Dancer2","dancer_2"); ConnectNPC("Dancer3","dancer_3"); ConnectNPC("Dancer4","dancer_4"); ConnectNPC("Dancer5","dancer_5"); ConnectNPC("Dancer6","dancer_6"); ConnectNPC("Dancer7","dancer_7"); ConnectNPC("Dancer8","dancer_8"); ConnectNPC("Dancer9","dancer_9"); ConnectNPC("Dancerf0","dancer_10"); ConnectNPC("Dance1f23r","dancer_11"); ConnectNPC("Dance1f3r","dancer_12"); ConnectNPC("Danc51f4er","dancer_13"); ConnectNPC("Dance1f24r","dancer_14"); ConnectNPC("Danc125f123er","dancer_15"); ConnectNPC("Dan151f25cer","dancer_16"); ConnectNPC("Danc21f3513er","dancer_17");
Да не , дело в том что даже если я прописываю в OnPlayerSpawn отправление клиентского мессаджа, то один х*й не отправляется
|
ApplyAnimation(playerid,"DANCING","DAN_Down_A",4.1,1,1,1,1,1,1);
ApplyAnimation(playerid,"DANCING","DAN_Left_A",4.1,1,1,1,1,1,1);
new npcname[MAX_PLAYER_NAME]; GetPlayerName(i, npcname, sizeof(npcname)); new randskin = random(299)+1; new Float:randangle = random(360); new Float: angle; if(!strcmp(npcname, "Dancer", true)) { SetPlayerSkin(i,randskin); GetPlayerFacingAngle(i,angle); SetPlayerFacingAngle(i,angle + randangle); ApplyAnimation(i,"DANCING","DAN_Down_A",4.1,1,1,1,1,1); }