[Help] COmmand
#7

here is what i understood

Код:
   if(strcmp(cmdtext, "/InviteDrift", true) == 0)
   {
    tmp = strtok(cmdtext, idx);
    if (strcmp (tmp, "/Invitedirft", true) == 0)
		{
		  new string[256], string2[256];
		  new otherplayer = strval(tmp);
		  new name[MAX_PLAYER_NAME];
		  new opname[MAX_PLAYER_NAME];

		  GetPlayerName(playerid,name,sizeof(name));
	  	GetPlayerName(otherplayer,opname,sizeof(opname));


      if(!strlen(tmp)) return SendClientMessage(playerid, WHITE, "USE: /InviteDrift [playerid]");
      if(!IsPlayerConnected(otherplayer)) return SendClientMessage(playerid, WHITE, "Invalid playerID.");
    	  format(string,sizeof(string), ".Drift - [ID:%d | %s] дежоръ мгшйфи тм йгй дщзчп", playerid, name);
      	format(string2,sizeof(string2), ".Drift - мгшйфи [ID:%d | %s] джоръ бдцмзд аъ дщзчп", otherplayer, opname);
     	SendClientMessage(otherplayer, LIGHTBLUE, string);
    	SendClientMessage(playerid, LIGHTBLUE, string2);
    }


	  return 1;
}
and it is not working XD
Reply


Messages In This Thread
[Help] COmmand - by borisblat - 12.06.2009, 12:47
Re: [Help] COmmand - by Luca Dimonte - 12.06.2009, 16:36
Re: [Help] COmmand - by borisblat - 12.06.2009, 16:46
Re: [Help] COmmand - by Luca Dimonte - 12.06.2009, 17:18
Re: [Help] COmmand - by borisblat - 12.06.2009, 17:22
Re: [Help] COmmand - by Luca Dimonte - 12.06.2009, 17:24
Re: [Help] COmmand - by borisblat - 12.06.2009, 17:26
Re: [Help] COmmand - by Luca Dimonte - 12.06.2009, 17:33
Re: [Help] COmmand - by MenaceX^ - 12.06.2009, 17:35
Re: [Help] COmmand - by borisblat - 12.06.2009, 17:39

Forum Jump:


Users browsing this thread: 1 Guest(s)