Help Please
#6

Quote:
Originally Posted by Alex_Obando
Посмотреть сообщение
Because I need it.

Im scripting for a roleplay 400/500 so its hardly to find a player.

Please help.
just search through all players, here a little example
pawn Код:
for(new i, name[MAX_PLAYER_NAME]; i != MAX_PLAYERS; ++i) {
    if(GetPlayerName(i, name, sizeof name) && strcmp(name, NEEDLE, true) == 0) {
        printf("Player found (id = %d)", i);
        break;
    }
}
Reply


Messages In This Thread
Help Please - by Alex_Obando - 05.08.2011, 18:20
Respuesta: Help Please - by Alex_Obando - 05.08.2011, 18:54
Re: Help Please - by Rocketeer - 05.08.2011, 18:55
Re: Help Please - by WoodPecker - 05.08.2011, 18:56
Respuesta: Help Please - by Alex_Obando - 05.08.2011, 18:57
AW: Respuesta: Help Please - by Nero_3D - 05.08.2011, 19:07
Re: Help Please - by iPLEOMAX - 05.08.2011, 19:08
Re: Help Please - by Gh0sT_ - 05.08.2011, 19:10
Re: Help Please - by omer5198 - 05.08.2011, 20:10

Forum Jump:


Users browsing this thread: 2 Guest(s)