Help me! Onplayerload
#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


Messages In This Thread
Help me! Onplayerload - by ducmcmca1 - 25.07.2017, 10:16
Re: Help me! Onplayerload - by DonaldDuck - 25.07.2017, 13:40
Re: Help me! Onplayerload - by ducmcmca1 - 25.07.2017, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)