SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 26
Search took 0.00 seconds.
Search: Posts Made By: CodyHawkins
Forum: Scripting Help 05/08/2016, 12:49 PM
Replies: 9
Views: 412
Posted By CodyHawkins
Re: Errors while compiling

My bad, try:
CMD:go(playerid)
{
if(PlayerInfo[playerid][pAdminLevel] >= 1) ShowPlayerDialog(playerid, DIALOG_GO, DIALOG_STYLE_LIST, "SERVER: Teleport Locations", "House Interiors\nRace...
Forum: Scripting Help 05/08/2016, 12:40 PM
Replies: 9
Views: 412
Posted By CodyHawkins
Re: Errors while compiling

You need to use control structures properly, please read this:
http://wiki.sa-mp.com/wiki/Control_Structures#if

If you want it for all admin levels, try:
CMD:go(playerid)
{
...
Forum: Scripting Help 05/08/2016, 12:30 PM
Replies: 2
Views: 351
Posted By CodyHawkins
Re: /facpay bug

if(PlayerInfo[playerid][pAdmin] < 4 && PlayerInfo[playerid][pFactionModerator] == 0)
The counterpart to the above is:
if the player using the command is less than admin level 4 and is not faction...
Forum: Server Support 27/08/2015, 12:16 PM
Replies: 14,297
Views: 1,699,552
Posted By CodyHawkins
Offer expired.

Offer expired.
Forum: Server Support 25/08/2015, 09:14 PM
Replies: 14,297
Views: 1,699,552
Posted By CodyHawkins
Offer expired.

Offer expired.
Forum: Scripting Help 10/04/2015, 08:49 PM
Replies: 7
Views: 794
Posted By CodyHawkins
Re: need Gate Object ID REP+

Here's a list of most gates
http://i1088.photobucket.com/albums/i334/BigstarX/InteriorDoorsAndWindows1.jpg
Forum: Scripting Help 10/04/2015, 06:51 PM
Replies: 7
Views: 794
Posted By CodyHawkins
Re: need Gate Object ID REP+

Object ID is 11437 - If it's wrong, show a picture of where this gate can be found and I'll get the object ID for you.
Forum: Maps 23/01/2015, 03:10 PM
Replies: 4
Views: 2,704
Posted By CodyHawkins
Liberty Restaurant

http://i.imgur.com/BBdcvOV.png

This is an edit of the liberty city restaurant interior. However, it's not done, so whoever feels like finishing it, go ahead, you take the credits.
You can finish...
Forum: Maps 17/01/2015, 02:05 PM
Replies: 20
Views: 5,871
Posted By CodyHawkins
Re: Simple Office

Simplicity is the key.
Forum: Maps 16/01/2015, 03:02 PM
Replies: 20
Views: 5,871
Posted By CodyHawkins
Forum: Scripting Help 16/01/2015, 10:25 AM
Replies: 8
Views: 978
Posted By CodyHawkins
Re: Error 004: function not implemented

Do you have any other line (stock) for "SendAdminMessage"?
Forum: Maps 16/01/2015, 06:15 AM
Replies: 20
Views: 5,871
Posted By CodyHawkins
Re: Simple Office

Thanks guys!


I'll keep that in mind.
Forum: Maps 15/01/2015, 03:57 PM
Replies: 20
Views: 5,871
Posted By CodyHawkins
Re: Simple Office

Thanks.
Any kind of criticism would be good.
Also, if you have any ideas of what I should map next, please go ahead and suggest it.
Forum: Scripting Help 15/01/2015, 03:55 PM
Replies: 11
Views: 590
Posted By CodyHawkins
Re: CMD help.

Have you ever been scripting before?


forward hMoleOn();
new hmole = 1;
new hmoletimer = 600000; // <-- = 10 minutes

CMD:hmole(playerid, params[])
{
if(PlayerInfo[playerid][pFaction]...
Forum: Scripting Help 14/01/2015, 09:56 PM
Replies: 11
Views: 590
Posted By CodyHawkins
Re: CMD help.

CMD:hsms(playerid, params[])
{
if(PlayerInfo[playerid][pFaction] == 4 || PlayerInfo[playerid][pLeader] == 4)
{

if ((!hsms))
{
SendClientMessageEx(playerid, COLOR_GRAD2, "Please try...
Forum: Scripting Help 14/01/2015, 09:28 PM
Replies: 11
Views: 590
Posted By CodyHawkins
Re: CMD help.

It's because when a hitman uses /hsms, they'll get this:

if(PlayerInfo[playerid][pFaction] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
SendClientMessage(playerid,COLOR_WHITE, "You're not...
Forum: Scripting Help 14/01/2015, 06:19 PM
Replies: 1
Views: 294
Posted By CodyHawkins
Re: Remove "_" from playernames.

Read this: http://forum.sa-mp.com/showthread.php?t=336052
Removing "_" from names and /me cmd included in the link above.
Forum: Scripting Help 14/01/2015, 06:00 PM
Replies: 4
Views: 439
Posted By CodyHawkins
Re: Fatal Error

Double check your YSI file as I mentioned above, make sure it's the right files too, and updated.
I could personally help you if you want me to, my skype is codyhawkinz if you're still having...
Forum: Maps 14/01/2015, 05:52 PM
Replies: 20
Views: 5,871
Posted By CodyHawkins
Simple Office

http://i.imgur.com/BBdcvOV.png

This is my very first mapping I've done with SAMP Map editor, I'm not very familiar with it but it has many objects that MTA:SA doesn't have.
It's nothing special,...
Forum: Scripting Help 14/01/2015, 12:30 PM
Replies: 2
Views: 314
Posted By CodyHawkins
Re: Need Help!

stock Float:GetDistanceBetweenPoints(Float:rx1,Float:ry1,Float:rz1,Float:rx2,Float:ry2,Float:rz2)
{
return...
Forum: Scripting Help 14/01/2015, 12:28 PM
Replies: 4
Views: 9,705
Posted By CodyHawkins
Re: Anti teleport hack?

Sorry about that, wrote on the wrong thread.
Forum: Scripting Help 14/01/2015, 12:21 PM
Replies: 4
Views: 9,705
Posted By CodyHawkins
Re: Anti teleport hack?

#WRONG THREAD#
Forum: Scripting Help 14/01/2015, 12:18 PM
Replies: 6
Views: 769
Posted By CodyHawkins
Re: Server gets a runtime error. [stack/heap collision]

Sorry, I might be misunderstanding you, but have you solved the problem now by adding it back?
- But as mentioned, try to optimize your script (decrease unneccessary lines, shorten it)
Forum: Scripting Help 14/01/2015, 12:13 PM
Replies: 4
Views: 439
Posted By CodyHawkins
Re: Fatal Error

Can you show your include line?
Also, make sure to read this; http://forum.sa-mp.com/showthread.php?t=321092
Download the latest one and replace it with the old one, files might be missing.
Forum: Scripting Help 14/01/2015, 12:07 PM
Replies: 1
Views: 391
Posted By CodyHawkins
Re: Optimize code

Spawns (optimized)

new Float:JailSpawns[][] =
{
{318.8602,317.0610,999.1484,272.1662},
{319.9413,317.3439,999.1484,269.5342},
{320.1702,310.9289,999.1484,272.6048},
...
Showing results 1 to 25 of 26

 

All times are GMT. The time now is 03:24 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.