Search Results
Well, I tried to solve by myself: PHP код: SearchUser(text[], playerid = INVALID_PLAYER_ID) {     new pos = 0;     while (text[pos] < 0x21) // Strip out leading spaces ...
63
PHP код: new player1, tmp[256], playername[MAX_PLAYER_NAME]; new count = 0; tmp = strtok(cmdtext, idx); if(IsNumeric(tmp)) {         for(new i = 0; i < MAX_PLAYERS; i...
63
So, I got this script: http://pastebin.com/Lg2BgHWN. It searches for a specified part of a player name and if it finds more than one, it writes all players that their part of name matches with the sea...
63
Thank you, but because you made an array variable, it must be indexed, so i think it would be ok without [MAX_PLAYERS] (global variable)...
105
Is there a way to save a player (for example killerid from "OnPlayerDeath") and use it in other callback (for example in "OnPlayerCommandText") without using sscanf?
105
Ok, but how to define "pid" as other player, beside playerid?
70
Hello ! The problem of this script is that if a player types /call 112, the other one recives wanted, but if the other player types /call 112 it says that "No one committed any illegal against you" ev...
70
Код: if(strcmp("/call 112", cmdtext, true) == 0) { new pid; if(IsPlayerConnected(pid) && IsPlayerConnected(playerid)) { if(Cell[playerid] == 1 && Cell[pid] =...
73
Hello ! I got this script: http://pastebin.com/c8sKcYip. The problem is that it works for a player, if i'm right the playerid, but for the other player (pid) it says "No one comitted any illegal again...
73
Hello all. I need help with a radar script. The problem is that the script doese't have any errors or warnings, but nothing happens. I got this script: http://pastebin.com/7760WS2p. Please help me wit...
69
Hello. I'm using this code: http://pastebin.com/BCyM92n3. On the server, when i use for example: "/f hello", the server sends me "unknown command". I remade the code as a simple /me command, but if i ...
52