14.02.2014, 19:49
During my work in SA:MP I have developed I think a lot of useful things. And this is one of them.
You know, for example you can write this:
But I suggest you write this:
I know, it looks strange. But can you imagine how convenient it is? And fortunately it's possible. I think it will save your time because you will write less. I should add that this is not all. If you like this trend, I'll tell all my ideas about it and show how they can be implemented.
Thank you.
You know, for example you can write this:
PHP Code:
public OnPlayerConnect(playerid)
{
Player[playerid][Player_Connected] = true;
Player[playerid][Player_Money] = 1000;
SetPlayerPos(playerid, 0.0, 0.0, 0.0);
}
PHP Code:
public OnPlayerConnect(player)
{
Player.Connected = true;
Player.Money = 1000;
player.SetPos(0.0, 0.0, 0.0);
}
Thank you.