Jump to content
  • 0

Probleme cu spos &/lpos


Guest graffyk

Question

Guest graffyk

Am si yo o problema cu asta:

public OnPlayerCommandText(playerid, cmdtext[])
{

new Float:ppx[MAX_PLAYERS], Float:ppy[MAX_PLAYERS], Float:ppz[MAX_PLAYERS];
   if (strcmp("/spos", cmdtext, true, 10) == 0)
   {
        GetPlayerPos(playerid, ppx[playerid], ppy[playerid], ppz[playerid]);
      SendClientMessage (playerid, COLOR_BLUEGREEN, "Position Saved.");
      return 1;
   }
    if (strcmp("/lpos", cmdtext, true, 10) == 0)/code]
   {
      SetPlayerPos(playerid, ppx[playerid], ppy[playerid], ppz[playerid]);
      SendClientMessage (playerid, COLOR_BLUEGREEN, "You have been teleported.");
      return 1;
   }

/spos imi apare k salveaza pozitia, dar la /lpos se cad in gol.Asa adica :down:

samp031zc0.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.