Help me! Onplayerload
#1

How to add code on onplayerload: https://pastebin.com/TG0nVHYd
I add code error:
Reply
#2

Код:
public OnPlayerLoad(playerid)
{
       //Write your code here.
	return 1;
}
Reply
#3

Quote:
Originally Posted by DonaldDuck
Посмотреть сообщение
Код:
public OnPlayerLoad(playerid)
{
       //Write your code here.
	return 1;
}
Onplayerload (playerid)
{

new masobaove;
new szKey[5];
new result;
if (PlayerInfo[playerid][pMatKhaus] == 2)
{
masobaove = PlayerInfo[playerid][pMabaomat];
valstr(szKey, masobaove);
ShowPlayerKeypad(playerid, 2, szKey);
}
if(result == CREATEKEYPAD_RETURN_INVALID_ID) return SendClientMessage(playerid, COLOR_RED, "Invalid keypad ID passed to CreateKeypad().");
if(result == CREATEKEYPAD_RETURN_NUM) return SendClientMessage(playerid, COLOR_RED, "Invalid keypad string (non-numerical) passed to CreateKeypad().");
return 1;
}
?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)