AJUDA COmando - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: AJUDA COmando (
/showthread.php?tid=334259)
AJUDA COmando -
Hancoc - 14.04.2012
PHP код:
if(strcmp("/Stunt", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,251.14909400,2974.53808600,6.77624300);
return 1;
}
como faso pra apareser Tal Tal Foi no Stunt
Re: AJUDA COmando -
4LiSs0N - 14.04.2012
pawn Код:
if(strcmp("/Stunt", cmdtext, true, 10) == 0)
{
new NomeP[MAX_PLAYER_NAME],string[24];
GetPlayerName(playerid, NomeP, MAX_PLAYER_NAME);
format(string, sizeof(string), "-> %s Foi Para o Stunt CMD:{F60000} /Stunt", NomeP);
SendClientMessageToAll(-1, string);
SetPlayerPos(playerid,251.14909400,2974.53808600,6.77624300);
return 1;
}
Re: AJUDA COmando -
Hancoc - 14.04.2012
deu certo, mas outra cooisa pq quando eu to com caro faso /stunt a gente vai lah no stunt mais sem o caro?
Re: AJUDA COmando -
4LiSs0N - 14.04.2012
PHP код:
if(strcmp("/Stunt", cmdtext, true, 10) == 0)
{
new NomeP[MAX_PLAYER_NAME],string[24];
GetPlayerName(playerid, NomeP, MAX_PLAYER_NAME);
format(string, sizeof(string), "-> %s Foi Para o Stunt CMD:{F60000} /Stunt", NomeP);
SendClientMessageToAll(-1, string);
if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),251.14909400,2974.53808600,6.77624300);
else SetPlayerPos(playerid,251.14909400,2974.53808600,6.77624300);
return 1;
}