Jump to content
  • 0

pomoc NPC


LenRevoL

Dotaz

č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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...