Search Results
Quote:
Originally Posted by IamPRO
Create a stock for detecting if a player hitted the specific objectid and use a global variable Hitwinner.
Something like
pawn Код:
public OnPlayerS...
92
I have an important question, how do I do that you can hit a particular object, for example if you beat it 20 times last player that beat him gets the money?
Thanks to helpers.
92
Quote:
Originally Posted by Pottus
Dude, we gave you guidance of what to do at least give it a shot and if your code isn't working post and we will look at it were not going to write your ...
140
Quote:
Originally Posted by XStormiest
He just gave an example, not a copy-paste script, look closer at what he said and try to think it.
86400 represents how much seconds a day have.
gett...
140
Quote:
Originally Posted by Pottus
pawn Код:
#define DAY_LENGTH_SECONDS 86400SomeEventTime = gettime() + (DAY_LENGTH_SECONDS * NUMBEROFDAYS);// Then run some kind of update timer and c...
140
How do I do that if passing x x days from now something happens? Timer? DOF2? What do I do? I've tried everything I can not?
Please help me in this important and urgent!
140
Quote:
Originally Posted by ranme15
Show me the whole line please.
No matter, I got along, thank you
106
Quote:
Originally Posted by ranme15
pawn Код:
if(strcmp(string[1], string[2], true))
Код:
error 035: argument type mismatch (argument 1)
106
How do I check if a string is not equal to the string?
Is very very very imported.
please help!
106
Quote:
Originally Posted by Ox1gEN
lol, you are converting the inputtext which is a string into an integer...
EDIT: lol I got confused, you are supposed to do strval(AdminLevel(inputtext)...
967
Quote:
Originally Posted by RedCrossER
What do you want to do with that code?
pawn Код:
AdminLevel(inputtext) = strval(AdminLevel(playerid));
makes no sense!
So what i do ?!
967
Quote:
Originally Posted by Stinged
Show us the AdminLevel stock.
take:
Код:
stock AdminLevel(playerid)
{
new file[64];
GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
format(file, 6...
967
Quote:
Originally Posted by Ox1gEN
pawn Код:
AdminLevel(inputtext) = strval(AdminLevel(playerid));
Now i have 2 errors(still error 035).
967
The error:
Код:
error 035: argument type mismatch (argument 1)
.
The code:
Код:
AdminLevel(inputtext) = AdminLevel(playerid);
967
Quote:
Originally Posted by FilesMAker
First use some TABs to make your code looks good. Secondly did you call the dialogueq via ShowPlayerDialog ??!!
This help? So I have not seen here...
158
Quote:
Originally Posted by Kinglee
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){new string[256];if(dialogid == 50 && response){switch...
158