SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: 2KY
Forum: Scripting Help 31/03/2012, 05:02 PM
Replies: 10
Views: 1,467
Posted By 2KY
Re: strcmp question

It's odd, it only happens randomly. I guess everything still works, and I couldn't duplicate the message in about ten minutes, so I don't know. Thanks anyways.
Forum: Scripting Help 31/03/2012, 04:40 PM
Replies: 10
Views: 1,467
Posted By 2KY
Re: strcmp question

Me neither.




I've fixed it in the actual script, thank you.

if( strcmp( accInfo[ playerid ] [ Password ], inputtext, false ) )
return ShowPlayerDialog( playerid, DIALOG_LOGIN,...
Forum: Scripting Help 31/03/2012, 04:31 PM
Replies: 10
Views: 1,467
Posted By 2KY
Re: strcmp question

You both did, thank you. I'll +rep you momentarily. I have another question... I just got the following printed in my server console, I've never seen it before..



The code:

case ...
Forum: Scripting Help 31/03/2012, 04:16 PM
Replies: 10
Views: 1,467
Posted By 2KY
Re: strcmp question

#define USERPATH "ZoneDM/Users/%s.ini"

enum accVars
{
Password[ 64 ],
Model,
Access,
ClassID
};
new accInfo [ MAX_PLAYERS ] [ accVars ], bool:player_Logged[ MAX_PLAYERS ]...
Forum: Scripting Help 31/03/2012, 04:13 PM
Replies: 10
Views: 1,467
Posted By 2KY
strcmp question

What's wrong with this?

case DIALOG_LOGIN: {
if( response )
{
if( !strlen( inputtext ) ) //They hit enter without entering a password....
Showing results 1 to 5 of 5

 

All times are GMT. The time now is 09:47 AM.


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