if(!strcmp(\"/pm\", cmdtext, true)){ new tmp[256], gMessage[128], recname[128], Message[128]; tmp = strtok(cmdtext,idx); if(!strlen(tmp)) return SendClientMessage(playerid,0xFF0000FF,\"USAGE: /PM (id) (message)\"); new player1 = strval(tmp); gMessage = strrest(cmdtext,idx); if(!strlen(gMessage)) return SendClientMessage(playerid,0xFF0000FF,\"Usage: /pm (id) (message)\"); if(!IsPlayerConnected(player1)) return SendClientMessage(playerid,0xFF0000FF,\"/pm :Invalid ID\"); GetPlayerName(player1,recname,sizeof(recname)); GetPlayerName(playerid,playername,sizeof(playername)); format(Message,sizeof(Message),\">> %s [%i]: %s\",recname,player1,gMessage); SendClientMessage(playerid,yellow,Message); format(Message,sizeof(Message),\"** %s [%i]: %s\",playername,playerid,gMessage); SendClientMessage(player1,yellow,Message); PlayerPlaySound(player1,1085,0.0,0.0,0.0); return 1;}
if(!strcmp(\"/pm\", cmdtext, true)){ new tmp[256], gMessage[128], recname[128], Message[128]; tmp = strtok(cmdtext,idx); if(!strlen(tmp)) return SendClientMessage(playerid,0xFF0000FF,\"USAGE: /PM (id) (message)\"); new player1 = strval(tmp); gMessage = strrest(cmdtext,idx); if(!strlen(gMessage)) return SendClientMessage(playerid,0xFF0000FF,\"Usage: /pm (id) (message)\"); if(!IsPlayerConnected(player1)) return SendClientMessage(playerid,0xFF0000FF,\"/pm :Invalid ID\"); GetPlayerName(player1,recname,sizeof(recname)); GetPlayerName(playerid,playername,sizeof(playername)); format(Message,sizeof(Message),\">> %s [%i]: %s\",recname,player1,gMessage); SendClientMessage(playerid,yellow,Message); format(Message,sizeof(Message),\"** %s [%i]: %s\",playername,playerid,gMessage); SendClientMessage(player1,yellow,Message); PlayerPlaySound(player1,1085,0.0,0.0,0.0); return 1;} Ha esetleg nem találnád xDOFF: Tényleg Csabesz.. http://clas.hu/ xD
Nagyon szépen köszönöm.[/quote]ezekszerint nemtalálta XD