19.10.2012, 16:00
Quote:
try using this
Код:
if (strcmp("/eventtp", cmdtext, true, 10) == 0) { GetPlayerPos(playerid,X,Y,Z); ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Amount","What amount of players u want to tp?","OK","Cancel"); for(new _i=1,_i<=amount,_i++) { ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"ID","Enter the ID of the player u want to tp.","OK","Cancel"); Y=Y+2; SetPlayerPos(id,X,Y,Z); } return 1; } return 1; } |