[DUV] CheckPoint e Mapicon. . .
#1

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?
Reply
#2

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
Reply
#3

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 ??
Reply
#4

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)