27.02.2010, 16:51
https://sampwiki.blast.hk/wiki/Control_Structures
pawn Код:
public OnPlayerDoesSomething(playerid)
{
if(variable == something)
{
// do something
}
return 1;
}
pawn Код:
if(!strcmp(cmdtext, "/open", true))
{
if(variable[playerid] == value) // change level for your level var and value for the level
{
MoveObject(objectid, bla, bla, bla);
}
return 1;
}