25.11.2012, 00:03
Hello, i'm trying to put a string in my dialog, but i get errors :S
They are the errors.
_________________
This is the line i'm trying to put the string on >_<
RPN means roleplay name by the way ;p
pawn Code:
error 001: expected token: "]", but found ")"
warning 219: local variable "string" shadows a variable at a preceding level
error 001: expected token: ";", but found "-identifier-"
warning 202: number of arguments does not match definition
error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
_________________
This is the line i'm trying to put the string on >_<
pawn Code:
case 2: // Login
{
new string[128]
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, "{4F00ED}Login","{FFFFFF}Welcome to {0800FF}Test Server Roleplay %s.\n\n{FFFFFF}That name is {00C71B}registered.{FFFFFF} please enter your password below.", "Login", "Quit", RPN(playerid);