Search Results
Does your Gamemode gives any warnings when you compile?
128
Quote:
Originally Posted by CAR
if(gTeam[playerid] = TEAM_GANGSTAS)
Isnt it:
pawn Код:
if(gTeam[playerid] == TEAM_GANGSTAS){//Code Here}else{//Code Here}
268
I don't understand why you use "else if" ? Why not just a simple "else" ?
Anyway try this:
pawn Код:
new PlayerName[MAX_PLAYER_NAME], File[256];GetPlayerName(playerid, Play...
83
Quote:
Originally Posted by gigi1223
yea work but i want if is a admin send a message welcome admin but this message show 100000 times XD how to show 1 times?
pawn Код:
if(PlayerAdmin[...
161
Quote:
Originally Posted by Script
The problem is with your timer change it to this:
SetTimerEx("killzone", 1000, 0, "d", playerid);
Why SetTimerEx? SetTimer would work aswell.
Try:
...
161
Quote:
Originally Posted by tanush
link please
Off topic: What Radar mod is that? i:
179
Quote:
Originally Posted by Mystique
Is that really all aviable colours for sa-mp?
No it's not, You can make 16777216+ colors.
1,732
Quote:
Originally Posted by Kevin_Joshen
please actually post helpful things.
Thank you!
Helpful things isn't just getting a code. It is to learn how to do it, so you can make it your ...
158
Quote:
Originally Posted by MadeMan
That's the use of stock, if you don't use it, the compiler ignores it.
I see. Thanks to everyone for helping me
102
Quote:
Originally Posted by omarhassan
i need very good admin script with
login / register dialog
and anti flood , sheat , swear, spam
Why don't you just create one yourself?
178
Quote:
Originally Posted by Calgon
stock - Great for use if you're unsure that you'll even use it.
no prefix/initialiser - Great for use if you don't need to forward it.
public - Great fo...
102
I've searched around wiki.samp to find the answer, but I can't realy seem to find it.
I want to know when I should use stock, public or nothing like ...
pawn Код:
forward Example1();forward Exam...
102
Did you add
pawn Код:
dcmd(tele, 4, cmdtext);
Under OnPlayerCommandText ?
EDIT:
Alse you might want to create a string for the "SendClientMessage". Like this:
pawn Код:
new String[256];forma...
362
Try this:
pawn Код:
new File[128], Killed[256];format(File, sizeof(File), "Config.ini");Killed = dini_Get(File, "Killed");if(strval(Killed) == 1){}else{}
107
Why don't you just use ...
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source){ return 1;}
This will do the same as a Dialog Box - I think, but it's just in the Score.
165
I'm currently creating a dynamic spawn for New Players, but I can't seem to get it to work.
I want it to check if there is a file called "NewbieSpawn.ini" in a folder called "ServerS" when the Gamem...
56
I will suggest Dini as it's a good, easy and an awesome include. I use it my self.
178
Quote:
Originally Posted by DJBluefader
I think, he got it.
I only need 1 way
But thanks everyone for helping me.
140
Quote:
Originally Posted by Carlton
Yes with strcmp.
pawn Код:
if(!strcmp(inputtext, "MyTextIwan'tmatch", true)) { }
Thanks alot
140
I need help with a Dialog Box for an age selection.
I need it to check if the "inputtext" is numbers, but how can I make a "if( ..." with inputtext?
Thanks to anyone that helps me.
140