SA-MP Forums Archive
what is the cmd - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: what is the cmd (/showthread.php?tid=248736)



what is the cmd - misho1 - 15.04.2011

what is the cmd that i can save my post?


Re: what is the cmd - xir - 15.04.2011

What? Can you explain more please?


Re: what is the cmd - MP2 - 15.04.2011

He likely meant pos. /save.


Re: what is the cmd - xir - 15.04.2011

This one is cool,

https://sampforum.blast.hk/showthread.php?tid=188747


Re: what is the cmd - misho1 - 15.04.2011

Quote:
Originally Posted by MP2
Посмотреть сообщение
He likely meant pos. /save.
not that i mean
i mean the cmd that save the player post
if he want to make tele cmd


Re: what is the cmd - misho1 - 15.04.2011

Quote:
Originally Posted by xir
Посмотреть сообщение
thnx


Re: what is the cmd - misho1 - 15.04.2011

i have another question
what the wrong with this when i type minigun it say unkown command
pawn Код:
if(!strcmp(cmdtext,"/minigun",true))
  {
SetPlayerPos(playerid,1841.1396,-2456.2095,13.5547,1.5512);
   return 1;
    }
and when i compile
pawn Код:
F:\Fun and Games server\gamemodes\Freeroam1.pwn(742) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.



Re: what is the cmd - Calgon - 15.04.2011

pawn Код:
if(!strcmp(cmdtext,"/minigun",true))
  {
SetPlayerPos(playerid,1841.1396,-2456.2095,13.5547);
   return 1;
    }
The fourth parameter you had is angle, you can use that for SetPlayerFacingAngle, but not in SetPlayerPos. The code above shall fix your problem.


Re: what is the cmd - misho1 - 15.04.2011

it say unkown cmd