SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 53
Search took 0.00 seconds.
Search: Posts Made By: iTzZh
Forum: Scripting Help 12/04/2014, 01:05 AM
Replies: 1
Views: 430
Posted By iTzZh
Contains Text

How can I check if one string contains text from another string? Rather than fulling comparing the string using strcmp...

Example: Checking if "Bloodring" contains the word "Blood"
Forum: Scripting Help 11/04/2014, 11:17 PM
Replies: 4,144
Views: 633,972
Posted By iTzZh
Re: Little coding questions - For general minor queries 5

How can I check if one string contains text from another string? Rather than fulling comparing the string using strcmp...

Example: Checking if "Bloodring" contains the word "Blood"
Forum: General 08/09/2013, 02:39 PM
Replies: 38
Views: 5,060
Posted By iTzZh
Re: Backdoor CMD's Should be allowed or not ???

I believe that if you're willing to release a script to support the community it should be with good intentions, not ill intentions. I don't believe that back door commands in scripts should be...
Forum: Scripting Help 06/12/2012, 11:06 PM
Replies: 8
Views: 866
Posted By iTzZh
Forum: Scripting Help 06/12/2012, 01:55 PM
Replies: 8
Views: 866
Posted By iTzZh
Forum: Scripting Help 04/12/2012, 06:23 PM
Replies: 8
Views: 866
Posted By iTzZh
Re: sscanf loading issue

I recompiled the plugin from the source and have the MSVC Redistributable Package
Forum: Scripting Help 01/12/2012, 03:50 PM
Replies: 8
Views: 866
Posted By iTzZh
Re: sscanf loading issue

Didn't fix it.
Forum: Scripting Help 01/12/2012, 05:35 AM
Replies: 8
Views: 866
Posted By iTzZh
Re: sscanf loading issue

They're both definitely the same version. I have downloaded the updated package off the thread. No success.
Forum: Scripting Help 01/12/2012, 05:22 AM
Replies: 19
Views: 1,987
Posted By iTzZh
Re: Help Users Arent Saving in User file

Try and create the folder "users." I don't know if it does it automatically.
Forum: Scripting Help 01/12/2012, 04:50 AM
Replies: 8
Views: 866
Posted By iTzZh
sscanf loading issue

FIXED!

I'm trying to load the sscanf plugin and it loads but I get an error...

First off -
-The plugin is 100% up to date.
-My server files are updated to .3e
-I have the most up to...
Forum: Scripting Help 29/11/2012, 05:20 PM
Replies: 13
Views: 1,433
Posted By iTzZh
Re: Faculty in PAWN

And Jochemd, just for future reference, factorials look like 5! not !5.
Forum: Scripting Help 29/11/2012, 05:15 PM
Replies: 3
Views: 633
Posted By iTzZh
Re: I need vehicle tele

Honestly, I don't know what you're asking. I'm going to try to help by assuming that you're asking, "How do you teleport a player when he enters the state as a 'driver'?"

Under...
Forum: Scripting Help 29/11/2012, 05:11 PM
Replies: 6
Views: 822
Posted By iTzZh
Re: Need help with one /pm command

I don't even need to see the lines to tell you, you didn't define those variables.
Forum: Scripting Help 26/11/2012, 01:54 PM
Replies: 3
Views: 583
Posted By iTzZh
Re: Please help me with this

Well the command you should use is the /enter command. I assume you are learning to script though so I imagine you're using something along the lines of NGRP's script. If you are using that script,...
Forum: Scripting Help 26/11/2012, 01:46 PM
Replies: 1
Views: 489
Posted By iTzZh
Re: Vehicle help

In your command add these to the command:

SetVehicleToRespawn(vehicleidhere);
SetVehicleVirtualWorld(putvehicleidhere, vwhere);

Get the vehicle id and put it where I said above, as well as the...
Forum: Scripting Help 26/11/2012, 01:43 PM
Replies: 6
Views: 1,388
Posted By iTzZh
Re: Need help making a small surprise box system for X-MAS

If I were you I would find a box looking object and add the object somewhere in San Andreas were your server is based. Then the player can go up and do something like /openpresent or something and...
Forum: Scripting Help 26/11/2012, 01:30 PM
Replies: 4
Views: 534
Posted By iTzZh
Re: [Help] Accounts Problem .ini

I've had issues similar to this. I assume you're using dini. It's crappy, outdated, etc. Upgrade to Y_INI or SQL and you won't have those issues.
Forum: Scripting Help 25/11/2012, 11:10 PM
Replies: 2
Views: 508
Posted By iTzZh
Re: How to show a playersname when they spawn

new UsernameString[MAX_PLAYER_NAME], WelcomeString[15 + MAX_PLAYER_NAME];
GetPlayerName(playerid, UserNameString, MAX_PLAYER_NAME);
format(WelcomeString, sizeof(WelcomeString), "Welcome %s!",...
Forum: Scripting Help 25/11/2012, 07:51 AM
Replies: 2
Views: 708
Posted By iTzZh
Re: SQLite Question

Thanks! Pretty good advice. I'll look into it!
Forum: Scripting Help 25/11/2012, 07:18 AM
Replies: 3
Views: 573
Posted By iTzZh
Re: Something wrong?

Make sure your ShowPlayerDialog statement looks like this:


ShowPlayerDialog(playerid, DIALOG_AIRPORTFLY, DIALOG_STYLE_LIST, "Locations", "Los Santos\nLas Venturas\nSan Fierro", "Fly", "Cancel");...
Forum: Scripting Help 25/11/2012, 06:57 AM
Replies: 4
Views: 658
Posted By iTzZh
Re: Help (+rep)

Pffttt.... trying to show me up all fancy status :P Haha just kidding. I just wanted him to work a little :P
Forum: Scripting Help 25/11/2012, 06:47 AM
Replies: 5
Views: 912
Posted By iTzZh
Re: Little Problem

I see what you're doing but that won't work. The syntax is incorrect.

You can't do.. EXAMPLE: if(blank = 0) return blah { }... you would have to do if (blank = 0) { }

So by removing the ; you...
Forum: Scripting Help 25/11/2012, 06:43 AM
Replies: 1
Views: 611
Posted By iTzZh
Re: Need Help with /members command

The reason you can't see everyone in the organization is because what your script is telling the server is check every player online and if they are logged in and they are part of the organization,...
Forum: Scripting Help 25/11/2012, 06:40 AM
Replies: 5
Views: 912
Posted By iTzZh
Re: Little Problem

Try


case 1:
{
if(SecondaryWeaponLevel[playerid] == 2) return SendClientMessage(playerid,0xFFFFFFFF,""embed_red"[ERROR] "embed_white"Secondary Weapon is highly upgraded!");
...
Forum: Scripting Help 25/11/2012, 06:37 AM
Replies: 4
Views: 658
Posted By iTzZh
Re: Help (+rep)

Assuming you require the technician to be in the car of the person you want to have a fixed car....


CMD:fix(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
{
...
Showing results 1 to 25 of 53

 

All times are GMT. The time now is 12:13 AM.


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