SA-MP Forums Archive
[DUV] CheckPoint e Mapicon. . . - 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: [DUV] CheckPoint e Mapicon. . . (/showthread.php?tid=177701)



[DUV] CheckPoint e Mapicon. . . - [NWD]Tweener_ - 19.09.2010

Existe algum jeito de mostrar um Check Point e uma map icon somente para um player que digitar um determinado comando? Se sim, tem como dar um exemplo?


Re: [DUV] CheckPoint e Mapicon. . . - Shelby - 19.09.2010

pawn Код:
SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color);
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
pawn Код:
SetPlayerCheckpoint(playerid,Float:x,Float:y,Float:z,Float:size);
https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint


Re: [DUV] CheckPoint e Mapicon. . . - Falcon. - 19.09.2010

pawn Код:
if(strcmp(cmd, "/seucomando", true) == 0)
    {
    SetPlayerMapIcon(playerid, iconid, Float:x, Float:y, Float:z, markertype, color);
    SetPlayerCheckpoint(playerid,Float:x,Float:y,Float:z,Float:size);
    return 1;
    }
Seria isso ??


Respuesta: [DUV] CheckPoint e Mapicon. . . - BiieL - 19.09.2010

tweener, os dois comandos sгo aplicбveis diretamente a um player, portanto apenas faca como o Falcon disse


Re: [DUV] CheckPoint e Mapicon. . . - [NWD]Tweener_ - 19.09.2010

Hum Ok, eu tava em duvida nisso, e desculpa ae, nem olhei na Wiki :S Tava cansadгo por que tive curso ontem. Vlw ae