SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 255
Search took 0.04 seconds.
Search: Posts Made By: Alvin007
Forum: Everything and Nothing 26/02/2015, 09:30 PM
Replies: 42
Views: 2,751
Posted By Alvin007
Re : How To Make a Rainbow Cake...

I prefer, Space cake tho ..
Forum: Scripting Help 26/02/2015, 09:47 AM
Replies: 4
Views: 380
Posted By Alvin007
Pawn Language - General info

Hello all, i started scripting on pawn since 3 weeks, and i'm actually doing pretty well.
I'm 19 years old and i'm studying computing/scripting in my first year at university.
Actually they teached...
Forum: Scripting Help 25/02/2015, 11:21 PM
Replies: 6
Views: 318
Posted By Alvin007
Re : small problem - formating

OUPS!
careful, it is strmid(FactionInfo[id][fName], fname, 0, strlen(fname),29); instead, you forgot about the last parameter which is the destination's length.
Forum: Scripting Help 25/02/2015, 10:08 PM
Replies: 6
Views: 318
Posted By Alvin007
Re : small problem - formating

Ok understood! i got it now, thanks alot :)
Forum: Scripting Help 25/02/2015, 09:52 PM
Replies: 6
Views: 318
Posted By Alvin007
Re : small problem - formating

Works fine, but i'd like to know what's wrong with format.
I mean in my case.
Forum: Scripting Help 25/02/2015, 09:35 PM
Replies: 6
Views: 318
Posted By Alvin007
small problem - formating

This is the Line 701 that shows errors.
format(FactionInfo[id][fName],sizeof(FactionInfo[id][fName]),fname);
I tried also:
...
Forum: Scripting Help 25/02/2015, 06:10 PM
Replies: 4
Views: 192
Posted By Alvin007
Re : small problem - affecting string to an array

Thanks for your support, it works.
Forum: Scripting Help 25/02/2015, 06:00 PM
Replies: 4
Views: 192
Posted By Alvin007
Forum: Scripting Help 25/02/2015, 05:20 PM
Replies: 4
Views: 192
Posted By Alvin007
small problem - affecting string to an array

Hello all i have a small problem.

if(PlayerInfo[playerid][pFaction]==0) PlayerInfo[playerid][pRank]="none";

the code above won't work.

Error message.
Forum: Scripting Help 24/02/2015, 11:07 PM
Replies: 2
Views: 228
Posted By Alvin007
Re : Tag mismatch warning

Thanks alot Vince :*
Forum: Scripting Help 24/02/2015, 10:56 PM
Replies: 2
Views: 228
Posted By Alvin007
Tag mismatch warning

Somewhere in the script i have this, and it keeps saying Tag Mismatch even tho i changed rand to an integer afterward using the floatround function.
i know this method is wrong, any advice?
...
Forum: Server Support 24/02/2015, 09:33 PM
Replies: 12,934
Views: 1,146,792
Posted By Alvin007
Re : Looking for scripters/helpers? Post here!

I'm looking for someone to help me out with my business system.
I want to make a working command which is /sellbiz.
Requiered job is:
When using the command, the business is plut on sale, if the...
Forum: Scripting Help 21/02/2015, 08:57 PM
Replies: 2
Views: 231
Posted By Alvin007
Forum: Scripting Help 20/02/2015, 08:04 PM
Replies: 15
Views: 634
Posted By Alvin007
Re : Creating a function

It worked thanks, +REP.
Forum: Scripting Help 19/02/2015, 09:26 PM
Replies: 15
Views: 634
Posted By Alvin007
Re : Creating a function

Yeah i know, the code above is after the update, cuz the first one answering me told me that you must put the "integer then string then float"
So it goes like this:
...
Forum: Scripting Help 19/02/2015, 09:11 PM
Replies: 15
Views: 634
Posted By Alvin007
Re : Creating a function

ChangeBizInfo(bizid,playerid,bizname[128])
{
new string[300];
BusinessInfo[bizid][bName] = bizname;
format(string,sizeof(string),"{FF0000}SERVER:{FFFFFF} You successfully changed your...
Forum: Scripting Help 19/02/2015, 12:08 PM
Replies: 15
Views: 634
Posted By Alvin007
Re : Creating a function

No sir, 3 Parameters.
Forum: Scripting Help 18/02/2015, 11:48 AM
Replies: 15
Views: 634
Posted By Alvin007
Forum: Scripting Help 17/02/2015, 10:34 PM
Replies: 15
Views: 634
Posted By Alvin007
Re : Creating a function

Those two errors in lines number 779 and 785 are respectively the first and the second ChangeBizInfo, there's no problem with the "BusinessInfo[id][bLocked]"
Forum: Scripting Help 17/02/2015, 10:11 PM
Replies: 15
Views: 634
Posted By Alvin007
Re : Creating a function

Thanks alot guys, +REP.
But could you please solve this problem.
The function worked fine for changing the business' name.
But not working fine in here:

if(BusinessInfo[id][bLocked]==1)
{
...
Forum: Scripting Help 17/02/2015, 09:18 PM
Replies: 15
Views: 634
Posted By Alvin007
Creating a function

Actually i have a problem with creating functions, it's a small one don't worry.
In my case i want to make a function to update a business 3D text label.
I searched everywhere in samp wiki, i found...
Forum: Scripting Help 17/02/2015, 02:42 PM
Replies: 2
Views: 231
Posted By Alvin007
Forum: Scripting Help 10/02/2015, 07:05 AM
Replies: 2
Views: 231
Posted By Alvin007
Loading number from ini

I have this, declared on the top.
new cNum;
INI:ABankNum[NextBNumber](name[], value[])
{
INI_Int("CurrentCardNum",cNum);
return 0;
}

And this is used when the player uses a certain...
Forum: Scripting Help 09/02/2015, 06:52 PM
Replies: 1
Views: 194
Posted By Alvin007
Forum: Scripting Help 09/02/2015, 06:50 PM
Replies: 4
Views: 219
Posted By Alvin007
Re : Problem declaring/calling a function

Thank you very much Schneider.
Showing results 1 to 25 of 255

 

All times are GMT. The time now is 02:23 AM.


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