LenRevoL 0 Odesláno: 27. Červenec, 2016 Share Odesláno: 27. Červenec, 2016 čus, nevie niekto ako vymazať NPC mam ConnectNPC(... a ako ju mam vymazať ?? mam to takto: for(new i; i = 0; i++) {new name;//maybe new name[MAX_PLAYER_NAME];GetPlayerName(i,name,MAX_PLAYER_NAME);If(name == "Your Npc Name"){Kick(i);}} ale piše errory: possibly unintended assignment array must be indexed (variable "name") Link to comment Share on other sites More sharing options...
0 DarkDragon_CZE69 17 Odesláno: 29. Červenec, 2016 Share Odesláno: 29. Červenec, 2016 Nevyznám se v NPC ale zkus toto: https://wiki.sa-mp.com/wiki/DestroyActor Link to comment Share on other sites More sharing options...
0 Invouk 91 Odesláno: 29. Červenec, 2016 Share Odesláno: 29. Červenec, 2016 Prečo si zakladaš druhý učet ????A za druhéToto vyhadzuje podla mena ..Podla tohoto skús:/wiki/IsPlayerNPCZakomponovať do toho, nikto ti tu nebude upravovať stiahnutý kód Twixo Link to comment Share on other sites More sharing options...
Dotaz
LenRevoL 0
čus, nevie niekto ako vymazať NPC
mam ConnectNPC(...
a ako ju mam vymazať ??
mam to takto:
for(new i; i = 0; i++)
{
new name;//maybe new name[MAX_PLAYER_NAME];
GetPlayerName(i,name,MAX_PLAYER_NAME);
If(name == "Your Npc Name")
{
Kick(i);
}
}
ale piše errory:
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now