[HELP]Need help with intro
#1

Script im using: Vortex RolePlay
The problem: Im trying to put a register sistem from another script wich is exelant but i get these stupit errors
Код:
C:\Users\Rake\Desktop\VX-RP\gamemodes\VortexRoleplay.pwn(926) : error 017: undefined symbol "playerid"
C:\Users\Rake\Desktop\VX-RP\gamemodes\VortexRoleplay.pwn(926) : error 017: undefined symbol "plname"
C:\Users\Rake\Desktop\VX-RP\gamemodes\VortexRoleplay.pwn(926) : error 029: invalid expression, assumed zero
C:\Users\Rake\Desktop\VX-RP\gamemodes\VortexRoleplay.pwn(926) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Part of the script: This is the part of the script that is messing with my pawn
Код:
926	GetPlayerName(playerid, plname, sizeof(plname));
927	format(string, sizeof(string), "users/%s.ini", plname);
928	if(fexist(string))
929	{
930		SetTimerEx("randomlogin",1000, false, "i", playerid);
931	}
932	else
933	{
934		SetTimerEx("TextDrawregistracija1",1500, false, "i", playerid);
935	}
936	return 1;
937 }
Some photos or a video for easyer help: //

Please help me this is very important for my server and for me so please help me if you know how to
Reply
#2

can i see the whole callback?
Reply
#3

Here is the whole intro

Код:
forward OnPlayerLogin(playerid,password[]);
forward OnPlayerUpdateCustom(playerid);
forward OnPlayerRegister(playerid, password[]);

forward TextDrawpokazi(playerid);
public TextDrawpokazi(playerid)
{
// ULAZ TEXTDRAW
    SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
    TextDrawShowForPlayer(playerid, newlogin1);
    TextDrawShowForPlayer(playerid, newlogin2);
    TextDrawShowForPlayer(playerid, newlogin3);
    TextDrawShowForPlayer(playerid, newlogin4);
    TextDrawShowForPlayer(playerid, newlogin5);
    TextDrawShowForPlayer(playerid, newlogin6);
    TextDrawShowForPlayer(playerid, newlogin7);
    TextDrawShowForPlayer(playerid, newlogin8);

// *************************
	SetPlayerInterior(playerid, 0);
	TogglePlayerControllable(playerid, 0);
	SetPlayerWeather(playerid, 1);
	SetPlayerInterior(playerid, 0);
	TogglePlayerControllable(playerid, 0);
	SetPlayerWeather(playerid, 1);
	SetTimerEx("TextDrawUnisti",9000, false, "i", playerid);
	return 1;
	}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
forward TextDrawregistracija1(playerid);
public TextDrawregistracija1(playerid)
{
	SetPlayerInterior(playerid, 0);
	PlayAudioStreamForPlayer(playerid, "http://k006.kiwi6.com/hotlink/e78oofk2l1/nba_2k12_mc_contest_-_p.i._-_in_the_zone_hd.mp3");
	TogglePlayerControllable(playerid, 0);
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	TextDrawShowForPlayer(playerid, Textdraw108);
	TextDrawShowForPlayer(playerid, Textdraw109);
	TextDrawShowForPlayer(playerid, Textdraw110);
	JBC_SetPlayerPos(playerid, 1270.3291,-1324.8623,15.1634); SetPlayerFacingAngle(playerid, 139.7829);
	SetPlayerCameraPos(playerid, 1265.78, -1346.33, 121.22); SetPlayerCameraLookAt(playerid, 1261.66, -1343.50, 119.71);
	SetPlayerWeather(playerid, 1);
	new plname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, plname, sizeof(plname));
	SetTimerEx("TextDrawregistracija2",7000, false, "i", playerid);
	return 1;
	}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
forward TextDrawregistracija2(playerid);
public TextDrawregistracija2(playerid)
{
    TextDrawHideForPlayer(playerid, Textdraw108);
	TextDrawHideForPlayer(playerid, Textdraw109);
	TextDrawHideForPlayer(playerid, Textdraw110);
	SetPlayerInterior(playerid, 0);
	TogglePlayerControllable(playerid, 0);
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
//	TextDrawShowForPlayer(playerid, Te0);
    TextDrawShowForPlayer(playerid, Textdraw115);
	TextDrawShowForPlayer(playerid, Textdraw116);
	TextDrawShowForPlayer(playerid, Textdraw117);
	TextDrawShowForPlayer(playerid, Textdraw118);
	TextDrawShowForPlayer(playerid, Textdraw119);
	TextDrawShowForPlayer(playerid, Textdraw120);
	TextDrawShowForPlayer(playerid, Textdraw121);
	TextDrawShowForPlayer(playerid, Textdraw122);
	TextDrawShowForPlayer(playerid, Textdraw123);
	TextDrawShowForPlayer(playerid, Textdraw124);
	TextDrawShowForPlayer(playerid, Textdraw125);
	TextDrawShowForPlayer(playerid, Textdraw126);
	TextDrawShowForPlayer(playerid, Textdraw127);
	TextDrawShowForPlayer(playerid, Textdraw128);
	SetPlayerFacingAngle(playerid, 139.7829);
    JBC_SetPlayerPos(playerid, 1192.6627,-1692.2067,13.1610);
	SetPlayerCameraPos(playerid, 1151.18, -1692.61, 34.58);
    SetPlayerCameraLookAt(playerid, 1152.99, -1697.27, 32.49);
	SetPlayerWeather(playerid, 1);
	new plname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, plname, sizeof(plname));
	SetTimerEx("TextDrawregistracija4",9000, false, "i", playerid);
	return 1;
	}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
forward TextDrawregistracija4(playerid);
public TextDrawregistracija4(playerid)
{
    TextDrawHideForPlayer(playerid, Textdraw115);
	TextDrawHideForPlayer(playerid, Textdraw116);
	TextDrawHideForPlayer(playerid, Textdraw117);
	TextDrawHideForPlayer(playerid, Textdraw118);
	TextDrawHideForPlayer(playerid, Textdraw119);
	TextDrawHideForPlayer(playerid, Textdraw120);
	TextDrawHideForPlayer(playerid, Textdraw121);
	TextDrawHideForPlayer(playerid, Textdraw122);
	TextDrawHideForPlayer(playerid, Textdraw123);
	TextDrawHideForPlayer(playerid, Textdraw124);
	TextDrawHideForPlayer(playerid, Textdraw125);
	TextDrawHideForPlayer(playerid, Textdraw126);
	TextDrawHideForPlayer(playerid, Textdraw127);
	TextDrawHideForPlayer(playerid, Textdraw128);

	SetPlayerInterior(playerid, 0);
	TogglePlayerControllable(playerid, 0);
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	TextDrawShowForPlayer(playerid, Textdraw129);
	TextDrawShowForPlayer(playerid, Textdraw130);
	TextDrawShowForPlayer(playerid, Textdraw131);
	TextDrawShowForPlayer(playerid, Textdraw132);
	TextDrawShowForPlayer(playerid, Textdraw133);
	TextDrawShowForPlayer(playerid, Textdraw134);
	TextDrawShowForPlayer(playerid, Textdraw135);
	TextDrawShowForPlayer(playerid, Textdraw136);
	TextDrawShowForPlayer(playerid, Textdraw137);
	TextDrawShowForPlayer(playerid, Textdraw138);
	TextDrawShowForPlayer(playerid, Textdraw139);
	TextDrawShowForPlayer(playerid, Textdraw140);
	TextDrawShowForPlayer(playerid, Textdraw141);
	TextDrawShowForPlayer(playerid, Textdraw142);
	TextDrawShowForPlayer(playerid, Textdraw143);
	TextDrawShowForPlayer(playerid, Textdraw144);
	TextDrawShowForPlayer(playerid, Textdraw145);
	TextDrawShowForPlayer(playerid, Textdraw146);

	JBC_SetPlayerPos(playerid, 394.50, -1526.42, 34.27); SetPlayerFacingAngle(playerid, 139.7829);
	SetPlayerCameraPos(playerid, 1636.03, -1358.01, 120.72);
    SetPlayerCameraLookAt(playerid, 1631.29, -1356.41, 120.61);
	SetPlayerWeather(playerid, 1);
	new plname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, plname, sizeof(plname));
	SetTimerEx("TextDrawregistracija5",9000, false, "i", playerid);
	return 1;
	}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
forward TextDrawregistracija5(playerid);
public TextDrawregistracija5(playerid)
{
    TextDrawHideForPlayer(playerid, Textdraw129);
	TextDrawHideForPlayer(playerid, Textdraw130);
	TextDrawHideForPlayer(playerid, Textdraw131);
	TextDrawHideForPlayer(playerid, Textdraw132);
	TextDrawHideForPlayer(playerid, Textdraw133);
	TextDrawHideForPlayer(playerid, Textdraw134);
	TextDrawHideForPlayer(playerid, Textdraw135);
	TextDrawHideForPlayer(playerid, Textdraw136);
	TextDrawHideForPlayer(playerid, Textdraw137);
	TextDrawHideForPlayer(playerid, Textdraw138);
	TextDrawHideForPlayer(playerid, Textdraw139);
	TextDrawHideForPlayer(playerid, Textdraw140);
	TextDrawHideForPlayer(playerid, Textdraw141);
	TextDrawHideForPlayer(playerid, Textdraw142);
	TextDrawHideForPlayer(playerid, Textdraw143);
	TextDrawHideForPlayer(playerid, Textdraw144);
	TextDrawHideForPlayer(playerid, Textdraw145);
	TextDrawHideForPlayer(playerid, Textdraw146);

//	TextDrawHideForPlayer(playerid, Te0);
	TextDrawHideForPlayer(playerid, Textdraw115);
	TextDrawHideForPlayer(playerid, Textdraw116);
	TextDrawHideForPlayer(playerid, Textdraw117);
	TextDrawHideForPlayer(playerid, Textdraw118);
	TextDrawHideForPlayer(playerid, Textdraw119);
	TextDrawHideForPlayer(playerid, Textdraw120);
	TextDrawHideForPlayer(playerid, Textdraw121);
	TextDrawHideForPlayer(playerid, Textdraw122);
	TextDrawHideForPlayer(playerid, Textdraw123);
	TextDrawHideForPlayer(playerid, Textdraw124);
	TextDrawHideForPlayer(playerid, Textdraw125);
	TextDrawHideForPlayer(playerid, Textdraw126);
	TextDrawHideForPlayer(playerid, Textdraw127);
	TextDrawHideForPlayer(playerid, Textdraw128);
	SetPlayerInterior(playerid, 0);
	TogglePlayerControllable(playerid, 0);
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	SendClientMessage(playerid,0x9292D5FF,"");
	TextDrawShowForPlayer(playerid, Textdraw147);
	TextDrawShowForPlayer(playerid, Textdraw148);
	TextDrawShowForPlayer(playerid, Textdraw149);
	TextDrawShowForPlayer(playerid, Textdraw150);
	TextDrawShowForPlayer(playerid, Textdraw151);
	TextDrawShowForPlayer(playerid, Textdraw152);
	TextDrawShowForPlayer(playerid, Textdraw153);
	TextDrawShowForPlayer(playerid, Textdraw154);
	TextDrawShowForPlayer(playerid, Textdraw155);
	TextDrawShowForPlayer(playerid, Textdraw156);
	JBC_SetPlayerPos(playerid, 394.50, -1526.42, 34.27); SetPlayerFacingAngle(playerid, 139.7829);
	SetPlayerCameraPos(playerid, 1636.03, -1358.01, 120.72);
    SetPlayerCameraLookAt(playerid, 1631.29, -1356.41, 120.61);
	SetPlayerWeather(playerid, 1);
	new plname[MAX_PLAYER_NAME];
	GetPlayerName(playerid, plname, sizeof(plname));
	SetTimerEx("TextDrawUnisti",5000, false, "i", playerid);
	return 1;
	}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
forward TextDrawUnisti(playerid);
public TextDrawUnisti(playerid)
	{
    TextDrawHideForPlayer(playerid, Textdraw147);
    TextDrawHideForPlayer(playerid, Textdraw148);
    TextDrawHideForPlayer(playerid, Textdraw149);
    TextDrawHideForPlayer(playerid, Textdraw150);
    TextDrawHideForPlayer(playerid, Textdraw151);
    TextDrawHideForPlayer(playerid, Textdraw152);
    TextDrawHideForPlayer(playerid, Textdraw153);
    TextDrawHideForPlayer(playerid, Textdraw154);
    TextDrawHideForPlayer(playerid, Textdraw155);
    TextDrawHideForPlayer(playerid, Textdraw156);
 /*   TextDrawHideForPlayer(playerid, newlogin1);
    TextDrawHideForPlayer(playerid, newlogin2);
    TextDrawHideForPlayer(playerid, newlogin3);
    TextDrawHideForPlayer(playerid, newlogin4);
    TextDrawHideForPlayer(playerid, newlogin5);
    TextDrawHideForPlayer(playerid, newlogin6);
    TextDrawHideForPlayer(playerid, newlogin7);
    TextDrawHideForPlayer(playerid, newlogin8); */
    //////////////////////////////////////////////////
/*	TextDrawShowForPlayer(playerid, Te0);
	TextDrawShowForPlayer(playerid, Te1);
	TextDrawShowForPlayer(playerid, Te2);
	TextDrawShowForPlayer(playerid, Te3);
	TextDrawShowForPlayer(playerid, Te4); */
    TextDrawShowForPlayer(playerid, newlogin1);
    TextDrawShowForPlayer(playerid, newlogin2);
    TextDrawShowForPlayer(playerid, newlogin3);
    TextDrawShowForPlayer(playerid, newlogin4);
    TextDrawShowForPlayer(playerid, newlogin5);
    TextDrawShowForPlayer(playerid, newlogin6);
    TextDrawShowForPlayer(playerid, newlogin7);
    TextDrawShowForPlayer(playerid, newlogin8);

new plname[MAX_PLAYERS];

new Text:T0;
new Text:T1;
new Text:T2;
new Text:T3;
new Text:T4;
new Text:T5;
new Text:T6;
new Text:T7;
new Text:T8;
new Text:T9;
new Text:T10;
new Text:T11;
new Text:login101;
new Text:login102;
new Text:login103;
new Text:login104;
new Text:login105;
new Text:login106;
new Text:login107;
new Text:login108;
new Text:login109;
new Text:login110;
new Text:login111;
new Text:login112;
new Text:login113;
new Text:login114;
new Text:login115;
new Text:login116;
new Text:login117;
new Text:login118;
new Text:login119;
new Text:login120;
new Text:login121;
new Text:login122;
new Text:login123;
new Text:login124;
new Text:login125;
new Text:login126;
new Text:login127;
new Text:login128;
new Text:Textdraw323;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
//////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////Registracija TEXTDRAWI////////////////////////////////////
new Text:Textdraw108;
new Text:Textdraw109;
new Text:Textdraw110;
//////////////////////////////////////////////////////////////////////////////
new Text:Textdraw115;
new Text:Textdraw116;
new Text:Textdraw117;
new Text:Textdraw118;
new Text:Textdraw119;
new Text:Textdraw120;
new Text:Textdraw121;
new Text:Textdraw122;
new Text:Textdraw123;
new Text:Textdraw124;
new Text:Textdraw125;
new Text:Textdraw126;
new Text:Textdraw127;
new Text:Textdraw128;
//////////////////////////////REG4//////////////////////////////////////////
new Text:Textdraw129;
new Text:Textdraw130;
new Text:Textdraw131;
new Text:Textdraw132;
new Text:Textdraw133;
new Text:Textdraw134;
new Text:Textdraw135;
new Text:Textdraw136;
new Text:Textdraw137;
new Text:Textdraw138;
new Text:Textdraw139;
new Text:Textdraw140;
new Text:Textdraw141;
new Text:Textdraw142;
new Text:Textdraw143;
new Text:Textdraw144;
new Text:Textdraw145;
new Text:Textdraw146;

///////////////////////REG5//////////////////////////////////////
new Text:Textdraw147;
new Text:Textdraw148;
new Text:Textdraw149;
new Text:Textdraw150;
new Text:Textdraw151;
new Text:Textdraw152;
new Text:Textdraw153;
new Text:Textdraw154;
new Text:Textdraw155;
new Text:Textdraw156;
new Text:Textdraw157;
new Text:Textdraw158;
Please help me please!

I didnt post it like its in the script "new textdraw" are on the top i just copy pasted

And the part that makes errors on the script i didnt post here its in the post above this
Reply
#4

Just add
pawn Код:
new plname[MAX_PLAYER_NAME],playerid;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)