Query Warning + Textdraw Error
#1

Query Warning:
Код:
C:\Users\USER\Desktop\UG-RP\gamemodes\UG-RP.pwn(98517) : warning 204: symbol is assigned a value that is never used: "query"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
and Textdraw:
When player JOINS server, all textdraws show, when the login panel appears, One textdraw dissapears?
Reply
#2

The warning tells you EXACTLY what the issue is. The variable "query" is never used.

http://2.bp.blogspot.com/-Ilq8SzToP6...t+of+ideas.png

Also, we can't help you unless you show us the code of the login panel.
Reply
#3

Код:
	if(dialogid == SPAWNMENU)
	{
	    if(response)
		{
		RegistrationStep[playerid] = 0;
 		TutTime[playerid] = 1;
  		CanTalk[playerid] = 0;
		}
		else
		{
  		CanTalk[playerid] = 1;
  		TutTime[playerid] = 0;
  		PlayerInfo[playerid][pSafeSpawn] = 1;
		PlayerInfo[playerid][pTut] = 1;
		gOoc[playerid] = 0; gNewbie[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
		TogglePlayerControllable(playerid, 1);
		PlayerInfo[playerid][pHealth] = 100;
		PlayerInfo[playerid][pArmor] = 0;
		SendClientMessage(playerid, COLOR_RED, " ");
		SendClientMessage(playerid, COLOR_RED, " ");
		SendClientMessage(playerid, COLOR_RED, " ");
		SendClientMessage(playerid, COLOR_RED, " ");
		SendClientMessage(playerid, COLOR_RED, " ");
		SendClientMessage(playerid, COLOR_RED, "{FF6347} Welcome back to Flint County Roleplay!");
		SendClientMessage(playerid, COLOR_RED, "{FF6347} We upgrading the script Daily, making YOUR Roleplay experience better!");
		SendClientMessage(playerid, COLOR_RED, "{FF6347} So If you spot something out of place, or corrupt, please report it to us!");
		SendClientMessage(playerid, COLOR_RED, "{FF6347} Our website is still (www.FlintCounty-RP.co.nr).");
		ApplyAnimation(playerid,"PED","WALK_GANG1",4.1,1,1,1,50,1);
		}
	}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)