SA-MP Forums Archive
Thinking of making this but....? - 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: Thinking of making this but....? (/showthread.php?tid=233534)



Thinking of making this but....? - [NRP]Blade - 01.03.2011

Ok well i personally like using strcmp, and i know people are gonna say why not just use a newer cmd process?
And to that i say, i learnt using strcmp and am used to the cmds, like some people.
So what i had in mind was making shortcuts for it like instead of
Code:
if(strcmp(cmd, "/me", true) == 0)
Change it to
Code:
CMD"/me"END
(already have that)
and i would also make a function list, these are the ones i plan(if anyone thinks it a good idea)
Code:
SendClientMessage-SCM
SendClientMessageToAll-SCMA
SendLocalMessage-SLM
AddPlayerClass-APC
ApplyAnimation-AN
ClearAnimations-CA
CreatePickup-CPU
CreateVehicle-CV
CreateMenu-CM
DestroyMenu-DM
DestroyVehicle-DV
GameTextForPlayer-GTP
GameTextForAll-GTA
GetAnimationName-GA
GetPlayerAmmo-GPA
GetPlayerArmour-GAP
GetPlayerDrunkLevel-GDL
GetPlayerHealth-GPH
GetPlayerInterior-GPI
GetPlayerName-GPN
GetPlayerPos-GPP
GetPlayerSkin-GPS
GetPlayerState-GSP
GetPlayerTeam-GPT
GetPlayerVehicleSeat-GVS
GetVehicleModel-GVM
GetVehicleHealth-GVH
GivePlayerMoney-GPM
GivePlayerWeapon-GPW
LimitGlobalChatRadius-LCR
PlayerPlaySound-PS
SendDeathMessage-SDM
SendPlayerMessageToAll-SPA
SendPlayerMessageToPlayer-SPP
SetDisabledWeapons-SDW
SetGravity-G
SetPlayerArmour-SA
SetPlayerAmmo-SAA
SetPlayerColor-SC
SetPlayerDrunkLevel-SDL
SetPlayerFightingStyle-SFS
SetPlayerName-SN
SetPlayerPos-PS
SetPlayerSpecialAction-SAP
SetPlayerTeam-ST
SetPlayerSkin-SS
SetSpawnInfo-SI
SetWeather-SW
SetWorldTime-SWT
So i will continue to work on this, as i said if anyone wants it!

Also feel free to give me recomendations
THANKS!!


Re: Thinking of making this but....? - [L3th4l] - 01.03.2011

I personally think you are wasting your time. Is it that hard to write the whole name?
Btw, it could get confusing with that short name.


Re: Thinking of making this but....? - grand.Theft.Otto - 01.03.2011

If you know what your doing, try it. But I don't think that's possible :S

Also, just use dcmd for your commands, its easy.


Re: Thinking of making this but....? - [NRP]Blade - 01.03.2011

Quote:
Originally Posted by grand.Theft.Otto
View Post
If you know what your doing, try it. But I don't think that's possible :S

Also, just use dcmd for your commands, its easy.
I have some already , work fine and did you not read when i said i like strcmp functions...


Re: Thinking of making this but....? - grand.Theft.Otto - 01.03.2011

Quote:
Originally Posted by [NRP]Blade
View Post
I have some already , work fine and did you not read when i said i like strcmp functions...
I know, but still, DCMD is still better and easier .

But then again, DCMD can be complicated .


Re: Thinking of making this but....? - [NRP]Blade - 01.03.2011

Quote:
Originally Posted by grand.Theft.Otto
View Post
I know, but still, DCMD is still better and easier .

But then again, DCMD can be complicated .
My point


Re: Thinking of making this but....? - Antonio [G-RP] - 01.03.2011

ZCMD, overall easiest to work with.

Also, this is a generally stupid idea.


Re: Thinking of making this but....? - [NRP]Blade - 01.03.2011

Maybe so, but its good for practice


Re: Thinking of making this but....? - [WF]Demon - 01.03.2011

^^ What Antonio said. ^^

ZCMD and SSCANF is even more simple, Just putting it out there.


Re: Thinking of making this but....? - [NRP]Blade - 01.03.2011

Yea i know, i am actually in the process of learning it, this is just another random idea i had :P