------help------
#1

Code
Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][AdminLevel] >= 5)
 }
	TextDrawShowForPlayer(playerid, Text:godmodeoff);
	return 1;
Error
Код:
error 029: invalid expression, assumed zero
Please help
Reply
#2

Quote:
Originally Posted by HayZatic
Посмотреть сообщение
Code
Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][AdminLevel] >= 5)
 }
	TextDrawShowForPlayer(playerid, Text:godmodeoff);
	return 1;
Error
Код:
error 029: invalid expression, assumed zero
I would say a part of program is missing? If no try to do this:
Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][AdminLevel] >= 5)
    {
 	TextDrawShowForPlayer(playerid, Text:godmodeoff);
    }
    return 1;
}
Reply
#3

Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
I would say a part of program is missing? If no try to do this:
Код:
public OnPlayerSpawn(playerid)
{
    if(PlayerInfo[playerid][AdminLevel] >= 5)
    {
 	TextDrawShowForPlayer(playerid, Text:godmodeoff);
    }
    return 1;
}
Worked! Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)