24.09.2011, 03:36
pawn Код:
if(strcmp("/verobjecto", cmdtext, true, 11) == 0)
{
new
Float:O[3]
;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xFF0000AA, "Use: /verobjecto [x] [y] [z]");
O[0] = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xFF0000AA, "Use: /verobjecto [x] [y] [z]");
O[1] = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xFF0000AA, "Use: /verobjecto [x] [y] [z]");
O[3] = strval(tmp);
SetPlayerCameraPos(playerid, O[0], O[1]-3.0, O[2]);
return 1;
}