22.11.2012, 00:51
(
Последний раз редактировалось Weslly Stronda; 22.11.2012 в 03:18.
)
Ola galera vcs podem? cria esse comando aqui para min, e tipo um tapa nao e para jogar para cima e para frente,?
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid,x,y,z);
return 1;
}
if (strcmp("/voar", cmdtext, true, 10) == 0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid,x,y,z+30);
return 1;
}
CMD:skip(playerid,params[])
{
if(PlayerInfo[playerid][Admin] < 2) return 0;
new
string[150],
playerID
;
if(sscanf(params,"d",playerID)) return SendClientMessage(playerid,red,"USAGE: /skip [playerid]");
if(!IsPlayerConnected(playerID)) return SendClientMessage(playerid,red,"Player not connected");
GetPlayerPos(playerID,posX,posY,posZ);
SetPlayerPos(playerID,posX,posY,posZ+15);
format(string,sizeof(string),"You slapped %s(%d) - FPS: %d PING: %d",Nome(playerID),playerID,FPS[playerID],GetPlayerPing(playerID));
SendClientMessage(playerid,red,string);
return 1;
}
Meu GM й em inglкs, mais tenta ai pegar uma base..
pawn Код:
|