|
|||||||
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2007
Posts: 1,291
Reputation: 30
|
Hey y'all.
![]() I've been working on a script for quite some hours now. I keep on stumbling across these problems. What I want is to perform a check, if the password given inside the server, is the same as an encrypted whirlpool password, and if it is, I want to return "OnPlayerLogin", but it keeps giving me two errors: The script: pawn Code:
The two errors: Quote:
, I've read and searched for this error, but I found no answers.Any help is appreciated.
Last edited by shitbird; 11/05/2011 at 09:02 PM. |
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: Sweden
Posts: 1,066
Reputation: 112
|
To compare if 2 strings are the same use strcmp.
![]() I think it should look something like this: (If you have the players password in a enum you could use that instead of "PlayerPass" ![]() pawn Code:
|
|
|
|
|
#3 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2007
Posts: 1,291
Reputation: 30
|
That leaves me at:
pawn Code:
Quote:
|
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| errors "undefined symbol" | xir | Help Archive | 14 | 22/02/2011 09:44 AM |
| Whirlpool.so? | <Weponz> | Help Archive | 2 | 30/09/2010 11:09 AM |
| Whirlpool errors! | Gyvo | Help Archive | 8 | 07/03/2010 08:29 AM |
| [SERIOUS HELP SERIOUS ERRORS] undefined symbol "KillerName" | Tigerbeast11 | Help Archive | 7 | 14/10/2009 05:12 PM |
| i get theese errors Undefined Symbol "cmdTEXT" | aspire5630 | Help Archive | 1 | 27/04/2009 03:41 PM |