Job capacity
#6

This is an example script that I made:

pawn Код:
#include <a_samp>

enum PlayerInfo
{
checkpoints
}

new PlayerData[MAX_PLAYERS][PlayerInfo];

public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext,"/test",true))
{
if(IsPlayerInCheckpoint(playerid))
{
PlayerData[playerid][checkpoints]++;
return 1;
}
SendClientMessageToAll(0xFFFFAAAA, "Test Successfull");
return 1;
}
return 0;
}
Try to take a look at that.
Reply


Messages In This Thread
Job capacity - by Shinzei_Banzai - 07.07.2009, 18:35
Re: Job capacity - by refshal - 07.07.2009, 20:02
Re: Job capacity - by Shinzei_Banzai - 07.07.2009, 20:09
Re: Job capacity - by refshal - 07.07.2009, 20:16
Re: Job capacity - by Shinzei_Banzai - 07.07.2009, 21:02
Re: Job capacity - by refshal - 07.07.2009, 21:30
Re: Job capacity - by happyface - 07.07.2009, 22:20
Re: Job capacity - by refshal - 08.07.2009, 07:53

Forum Jump:


Users browsing this thread: 1 Guest(s)