17.06.2013, 08:44
Quote:
Thanks Pooh7 it compiled me perfect , but i have a question :
Code:
public OnGameModeInit() { new Name[24]; for( new i = 0; i < 5; i++ ) { format(Name, 24, "NPC_%d", i); NPC_ID[i] = (ConnectRNPC(Name), i); printf("NPC IDs: %d", NPC_ID[i]); } return 1; } |
pawn Code:
public OnGameModeInit()
{
new Name[24];
for( new i = 0; i < 5; i++ )
{
format(Name, 24, "NPC_%d", i);
NPC_ID[i] = ConnectRNPC(Name);
printf("NPC IDs: %d", NPC_ID[i]);
}
return 1;
}